FYI: savewd.c: avoid shadowing warning

2006-09-17 Thread Jim Meyering
This fixes a "make distcheck" failure in coreutils: * savewd.c (savewd_restore): Don't shadow: s/status/child_status/. Index: savewd.c === RCS file: /sources/gnulib/gnulib/lib/savewd.c,v retrieving revision 1.1 diff -u -r1.1

Re: Mapping text files

2006-09-17 Thread Paul Eggert
Bruce Korb <[EMAIL PROTECTED]> writes: > It has always been an irritant that you cannot mmap a text file > and be sure that there is a terminating NUL, without going to a > lot of hassle. But the GNU coding standards say that programs generally must treat NUL bytes as valid data. There might be

Re: new module savewd, plus changes to mkdir-p

2006-09-17 Thread Paul Eggert
Ralf Wildenhues <[EMAIL PROTECTED]> writes: > The file modules/savewd does not exist in the current CVS, neither > do lib/savewd.[ch], m4/savewd.m4. Sorry about that. I did "cvs add" them, but I forgot to check them in. It's fixed now. > Do I understand correctly that it was intended to have b

Mapping text files

2006-09-17 Thread Bruce Korb
Hi, It has always been an irritant that you cannot mmap a text file and be sure that there is a terminating NUL, without going to a lot of hassle. The attached gnulib module goes to all the trouble necessary. It uses mmap(2) on all systems that have it and does a malloc/open/read/close/free seq

"Deleted header file" problem: aclocal.m4 deps

2006-09-17 Thread Ralf Wildenhues
The "deleted header file" problem that was solved for object file dependency generation a long time ago also affects aclocal.m4 generation. For a long time, this wasn't a problem, since the list of local *.m4 files in a project was rather stable. The dynamics of gnulib changed this, and by gnulib

Readability suggestion: MODULES.html.sh

2006-09-17 Thread Bruce Korb
Thanks - Bruce ! /usr/bin/cvs diff ... Index: MODULES.html.sh === RCS file: /sources/gnulib/gnulib/MODULES.html.sh,v retrieving revision 1.148 diff -b -B -u -p -r1.148 MODULES.html.sh --- MODULES.html.sh 6 Sep 2006 12:22:29 - 1.14

Re: new module savewd, plus changes to mkdir-p

2006-09-17 Thread Jim Meyering
Hi Ralf, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: > * Paul Eggert wrote on Sat, Sep 16, 2006 at 10:00:27PM CEST: >> I installed this fix as part of updates to coreutils. > > The file modules/savewd does not exist in the current CVS, neither > do lib/savewd.[ch], m4/savewd.m4. I suspect he'll ad

Re: new module savewd, plus changes to mkdir-p

2006-09-17 Thread Ralf Wildenhues
Hello Paul, * Paul Eggert wrote on Sat, Sep 16, 2006 at 10:00:27PM CEST: > I installed this fix as part of updates to coreutils. The file modules/savewd does not exist in the current CVS, neither do lib/savewd.[ch], m4/savewd.m4. Do I understand correctly that it was intended to have both save-c