CVS update: /ccvs/lib/

[email protected] 27 May 2005 17:54:40 -0000
Newsgroups gmane.comp.version-control.cvs.cvs
Message-ID <[email protected]>
User: dprice  
Date: 05/05/27 10:54:40

Modified:
 /ccvs/lib/
  ChangeLog, getlogin_r.h

Log:
 * getlogin_r.h: Import new version from GNULIB.

File Changes:

Directory: /ccvs/lib/
=====================

File [changed]: ChangeLog
Url: https://ccvs.cvshome.org/source/browse/ccvs/lib/ChangeLog?r1=1.448&r2=1.449
Delta lines:  +4 -0
-------------------
--- ChangeLog	26 May 2005 17:30:33 -0000	1.448
+++ ChangeLog	27 May 2005 17:54:37 -0000	1.449
@@ -1,3 +1,7 @@
+2005-05-27  Derek Price  <[email protected]>
+
+	* getlogin_r.h: Import new version from GNULIB.
+
 2005-05-26  Derek Price  <[email protected]>
 
 	* glob_.h: Protect __THROW separately from __BEGIN_DECLS.

File [changed]: getlogin_r.h
Url: https://ccvs.cvshome.org/source/browse/ccvs/lib/getlogin_r.h?r1=1.2&r2=1.3
Delta lines:  +3 -2
-------------------
--- getlogin_r.h	25 May 2005 19:52:12 -0000	1.2
+++ getlogin_r.h	27 May 2005 17:54:37 -0000	1.3
@@ -18,11 +18,12 @@
 
 /* Written by Paul Eggert and Derek Price.  */
 
+#include <stddef.h>
+
 #if HAVE_UNISTD_H
 # include <unistd.h>
 #endif
 
-#if !HAVE_DECL_GETLOGIN_R
 /* Copies the user's login name to NAME.
    The array pointed to by NAME has room for SIZE bytes.
 
@@ -32,6 +33,6 @@
 
    See <http://www.opengroup.org/onlinepubs/009695399/functions/getlogin.html>.
  */
-# include <stddef.h>
+#if !HAVE_DECL_GETLOGIN_R
 int getlogin_r (char *name, size_t size);
 #endif