Re: exclude_fnmatch function

2006-05-24 Thread Paul Eggert
"Sergey Poznyakoff" <[EMAIL PROTECTED]> writes: > I propose to move part of excluded_file_name in the separate function. > This will make it possible for an application to use fnmatch-like > interface with and without wildcards. In particular, this is needed > for GNU tar. That looks nice, thanks

Re: [bug-gnulib] [EMAIL PROTECTED]: GNU Coding Standards, internatialisation and plurals]

2006-05-24 Thread Karl Berry
Find here a patch. rms said "fine & thanks" for the patch, so I installed it in both gnustandards and gnulib. I'll update the web version in a bit. Thanks.

Changes to the W32 part of the getpass module

2006-05-24 Thread Martin Lambers
Hi! I'd like to propose the following changes to the getpass module. They only affect the W32 part of that module. The first change updates the test for the native W32 API. The second change adds missing includes, thus fixing compilation warnings. Martin Index: lib/getpass.c ==

Re: [bug-gnulib] Handling null pointers to printf

2006-05-24 Thread Bruno Haible
Hi, Aaron Stone wrote: > When glibc gets a null pointer in one of the printf-family of functions > for a %s argument, it prints "(null)" and doesn't crash. All of the > *BSD's libc's also print "(null)". > > Gnulib, when using its own vasnprintf implementation, does crash. The > principal offender

Re: [bug-gnulib] Re: [bug-gnulib] Re: gettimeofday() for Win32

2006-05-24 Thread Bruno Haible
Paul Eggert wrote: > Some old SVR4 systems put a one-argument > gettimeofday prototype into their . Also, Solaris 2.4 has > a one-argument prototype for C++ only. The Solaris 2.4 has: #ifdef __cplusplus int gettimeofday(struct timeval *, void *); int settimeofday(struct timeval *, void *); #end

Handling null pointers to printf

2006-05-24 Thread Aaron Stone
Hi, When glibc gets a null pointer in one of the printf-family of functions for a %s argument, it prints "(null)" and doesn't crash. All of the *BSD's libc's also print "(null)". Gnulib, when using its own vasnprintf implementation, does crash. The principal offender is Solaris, for which a) thi

exclude_fnmatch function

2006-05-24 Thread Sergey Poznyakoff
Hello, I propose to move part of excluded_file_name in the separate function. This will make it possible for an application to use fnmatch-like interface with and without wildcards. In particular, this is needed for GNU tar. The patch is enclosed. Regards, Sergey Index: lib/exclude.c ==