bug-gnulib
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] New GNULIB glob module?


From: Paul Eggert
Subject: Re: [bug-gnulib] New GNULIB glob module?
Date: Wed, 18 May 2005 00:31:13 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux)

Derek Price <address@hidden> writes:

> # ifndef __USE_GNU
> #  define __USE_GNU     1
> # endif

This shouldn't be needed once the <sys/cdefs.h> change is needed,
because <sys/cdefs.h> should define __USE_GNU.

> +# define GETPW_R_SIZE_MAX()  -1;

Change "-1;" to "(-1)".

> -#endif /* GLOB_ONLY_P */
> +#endif /* !_LIBC || !GLOB_ONLY_P */

More accurately, this should be:

   #endif /* !defined _LIBC || !defined GLOB_ONLY_P */

(The above problem occurs more than once.)

> -               long int pwbuflen = sysconf (_SC_GETPW_R_SIZE_MAX);
> +               long int pwbuflen = GETPW_R_SIZE_MAX();

There should be a space before the opening paren.
(The above problem occurs more than once.)




reply via email to

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