commit-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Inetutils branch, master, updated. inetutils-1_7-40-g1920dca


From: Giuseppe Scrivano
Subject: [SCM] GNU Inetutils branch, master, updated. inetutils-1_7-40-g1920dca
Date: Mon, 15 Mar 2010 01:09:08 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Inetutils ".

The branch, master has been updated
       via  1920dca82827a2b4316434a20883242cf4b5d5df (commit)
      from  1281e1c5f88cbc9f99bd6b33d788c795fbccd30f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=1920dca82827a2b4316434a20883242cf4b5d5df


commit 1920dca82827a2b4316434a20883242cf4b5d5df
Author: Giuseppe Scrivano <address@hidden>
Date:   Mon Mar 15 02:09:18 2010 +0100

    rlogind: Include pty.h only if HAVE_PTY_H is defined.

diff --git a/ChangeLog b/ChangeLog
index 87d54aa..4fb0251 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,7 @@
 2010-03-15  Giuseppe Scrivano  <address@hidden>
 
-       * src/rlogind.c (iruserok): declare extern only under glibc.
+       * src/rlogind.c: Include pty.h only if HAVE_PTY_H is defined.
+       (iruserok): declare extern only under glibc.
 
 2010-03-10  Ludovic Courtès  <address@hidden> (tiny change)
 
diff --git a/src/rlogind.c b/src/rlogind.c
index b73d7fc..413d6df 100644
--- a/src/rlogind.c
+++ b/src/rlogind.c
@@ -75,7 +75,10 @@
 #endif
 #include <sys/ioctl.h>
 #include <sys/stat.h>          /* Needed for chmod() */
-#include <pty.h>
+
+#ifdef HAVE_PTY_H
+# include <pty.h>
+#endif
 
 #include <progname.h>
 #include <argp.h>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog     |    3 ++-
 src/rlogind.c |    5 ++++-
 2 files changed, 6 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU Inetutils 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]