public inbox for
help / color / mirror / Atom feed
Subject: [shutdown - Shutdown, reboot, hibernate or suspend the machine] branch master, updated. 2df13b5252ae6f5b88cda05436b3a3e437f4ab44
Date: Wed, 07 Sep 2016 18:54:00 -0000	[thread overview]
Message-ID: <> (raw);h=2df13b5252ae6f5b88cda05436b3a3e437f4ab44

commit 2df13b5252ae6f5b88cda05436b3a3e437f4ab44
Author: Frank Fesevur <>
Date:   Fri Jul 1 15:22:54 2016 +0200

    Add cygport file;h=7251d5ecb0d5cfa306d57ba4ea1f5707681f0265

commit 7251d5ecb0d5cfa306d57ba4ea1f5707681f0265
Author: Frank Fesevur <>
Date:   Fri Jun 17 13:54:29 2016 +0200

    Fix compile warning;h=9904ce398c61b2ad1e7ba7d0a4b5801e6a7b37b7

commit 9904ce398c61b2ad1e7ba7d0a4b5801e6a7b37b7
Author: Frank Fesevur <>
Date:   Fri Jun 17 11:27:19 2016 +0200

    Updated links after moving the github repo

 .gitignore              |    2 ++               |    6 ++++--
 extras/shutdown.cygport |   23 +++++++++++++++++++++++
 shutdown.c              |    2 +-
 4 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index 25a7384..26f2530 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,4 @@
diff --git a/ b/
index 01e2c39..446ce12 100644
--- a/
+++ b/
@@ -5,9 +5,11 @@ These are the official sources of the [Cygwin]( `shutdown` co
 Since Cygwin is not a complete Linux kernel, some low-end stuff like shutting down the machine won't work the Linux way. Therefore Cygwin has its own shutdown program. It is a simple program that mimic the Linux [shutdown]( command but uses the [Win32-API]( to work on Windows.
-Report [issues]( here or on the [Cygwin mailing list](
+Report [issues]( here or on the [Cygwin mailing list](
-[Pull requests]( will always be reviewed or
+[Pull requests]( will always be reviewed or
+The repo can also be found at
 Version history
diff --git a/extras/shutdown.cygport b/extras/shutdown.cygport
new file mode 100644
index 0000000..be2fb25
--- /dev/null
+++ b/extras/shutdown.cygport
@@ -0,0 +1,23 @@
+SUMMARY="Shutdown, reboot, hibernate or suspend the machine"
+DESCRIPTION="Shutdown, reboot, hibernate or suspend the machine"
+inherit git
+src_compile() {
+	cd ${B}
+	make -f ${S}/Makefile SRCDIR=${S}
+src_install() {
+	cd ${B}
+	make install -f ${S}/Makefile SRCDIR=${S} DESTDIR=${D}
+# vim: ts=4:sw=4:noet:ft=sh
diff --git a/shutdown.c b/shutdown.c
index 92f1418..c189a64 100644
--- a/shutdown.c
+++ b/shutdown.c
@@ -21,7 +21,7 @@
 #include <stdio.h>
-#include <string.h>
+#include <strings.h>
 #include <ctype.h>
 #include <unistd.h>
 #include <stdarg.h>

                 reply	other threads:[~2016-09-07 18:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).