cvs-cvs
[Top][All Lists]
Advanced

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

[Cvs-cvs] Changes to ccvs/lib/glob.c


From: Derek Robert Price
Subject: [Cvs-cvs] Changes to ccvs/lib/glob.c
Date: Sun, 04 Sep 2005 21:48:00 -0400

Index: ccvs/lib/glob.c
diff -u ccvs/lib/glob.c:1.15 ccvs/lib/glob.c:1.16
--- ccvs/lib/glob.c:1.15        Wed May 25 20:23:38 2005
+++ ccvs/lib/glob.c     Mon Sep  5 01:47:59 2005
@@ -184,9 +184,9 @@
 # define GETPW_R_SIZE_MAX()    (-1)
 #endif
 #ifdef _SC_LOGIN_NAME_MAX
-# define LOGIN_NAME_MAX()      sysconf (_SC_LOGIN_NAME_MAX)
+# define GET_LOGIN_NAME_MAX()  sysconf (_SC_LOGIN_NAME_MAX)
 #else
-# define LOGIN_NAME_MAX()      (-1)
+# define GET_LOGIN_NAME_MAX()  (-1)
 #endif
 
 static const char *next_brace_sub (const char *begin, int flags) __THROW;
@@ -531,7 +531,7 @@
            {
              int success;
              char *name;
-             size_t buflen = LOGIN_NAME_MAX() + 1;
+             size_t buflen = GET_LOGIN_NAME_MAX() + 1;
 
              if (buflen == 0)
                /* `sysconf' does not support _SC_LOGIN_NAME_MAX.  Try




reply via email to

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