to avoid a collision with bits/local_lim.h in glibc.
All uses changed. Problem reported by Dmitry V. Levin in
<http://sources.redhat.com/bugzilla/show_bug.cgi?id=1060>.
2005-09-01 Paul Eggert <eggert@cs.ucla.edu>
+ * glob.c (GET_LOGIN_NAME_MAX): Renamed from LOGIN_NAME_MAX,
+ to avoid a collision with bits/local_lim.h in glibc.
+ All uses changed. Problem reported by Dmitry V. Levin in
+ <http://sources.redhat.com/bugzilla/show_bug.cgi?id=1060>.
+
* regex_internal.c (build_wcs_upper_buffer): Fix portability
bugs in int versus size_t comparisons.
(re_string_context_at): Fix bug where the code assumed that
# 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
\f
static const char *next_brace_sub (const char *begin, int flags) __THROW;
{
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