Re: fpurge on z/OS

2009-04-19 Thread Chet Ramey
Bruno Haible wrote: > Thanks for explaining. I think an alternative for bash would be to > temporarily set the file descriptor to point to /dev/null and do a > second fflush. Like this (error checking omitted): > > FILE *fp = ... /* stdout or stderr */; > if (fflush (fp) < 0) > { > #if GN

configmake: avoid make avalanche

2009-04-19 Thread Bruno Haible
Currently, in a project that uses the 'configmake' module, modifying lib/Makefile can cause an avalanche of rebuilds during the next "make". In my case, it's because we have dependencies configmake.hfrom Makefile, config.hfrom $(BUILT_SOURCES), which contains con

Re: opendir and dirent.h

2009-04-19 Thread Lorenzo Bettini
Bruno Haible wrote: Lorenzo Bettini wrote: However, I then noticed that there's dirent as a module (and opendir is declared in dirent.h) so I bet I should import dirent module anyway, shouldn't I? When you look at the gnulib/lib/dirent.in.h file, you see that it declares only functions; it pr