argp: ARGP_NO_ERRS suppresses help output

2014-09-28 Thread Andrei Borzenkov
According to http://www.gnu.org/software/libc/manual/html_node/Argp-Flags.html#Argp-Flags, when ARGP_NO_ERRS is set, the effect is "Don’t print error messages for unknown options to stderr". In reality when ARGP_NO_ERRS is set, all help output is completely suppressed - --help option is still recog

Re: `base_name' and `dir_name' not documented

2014-09-28 Thread Ben Pfaff
On Sun, Sep 21, 2014 at 04:43:07PM +0200, Werner LEMBERG wrote: > > The functions `base_name' and `dir_name' (or rather `mdir_name'), > intended as replacements for `basename' and `dirname' that work on > Windows also, are not documented in `gnulib.pdf'. I suggest to > mention those two function

Re: [PATCH] poll: undef NOGDI

2014-09-28 Thread Ben Pfaff
On Thu, Sep 18, 2014 at 04:53:37PM +0400, Marat Radchenko wrote: > On MinGW-W64, MsgWaitForMultipleObjects is guarded with #ifndef NOGDI. > > -DNOGDI=1 prevents inclusion of tons of Windows headers, especially > wingdi.h with weird #define ERROR 0 that has high chances to conflict > with internal

Re: [PATCH] poll: undef NOGDI

2014-09-28 Thread Marat Radchenko
Ping?