[PATCH] announce-gen: avoid failure when Digest::SHA is installed

2013-07-09 Thread Daiki Ueno
Hi, The 'announce-gen' script fails when Digest::SHA (not Digest::SHA1) is installed: Can't locate object method "new" via package "Digest::SHA1" (perhaps you forgot to load "Digest::SHA1"?) at ../gnulib/build-aux/announce-gen line 165. zsh: exit 25./gnulib/build-aux/announce-gen --boots

regex.o refuse to build with --enable-gcc-warnings

2013-07-09 Thread Charlie Brown
regex.o refuse to build when I build from tar git source (with latest gnulib source) today, which turns on --enable-gcc-warnings by default. I can finish the compilation by .configure --disable-gcc-warnings. Can you fix this warning here? Thanks a lot! And thank you for making such good tools!

[PATCH] mountlist: add support for deallocating returned list entries

2013-07-09 Thread Pádraig Brady
* lib/mountlist.c (free_mount_entry): A new exported function to deallocate a mount list entry. * lib/mountlist.h: Declare the new function. (read_file_system_list): Refactor to use the new deallocation function. Suggested by Anton Ovchinnikov. --- ChangeLog |8 lib/mountlist.c

[PATCH] accept4, dup3, pipe2: port to Cygwin

2013-07-09 Thread Paul Eggert
Problem reported for Emacs by Ken Brown in . * lib/accept4.c (accept4) [O_BINARY]: * lib/dup3.c (dup3) [O_BINARY]: * lib/pipe2.c (pipe2) [O_BINARY]: Use set_binary_mode, not setmode. * lib/pipe2.c [!GNULIB_BINARY_IO]: Include binary-io.h. * modules/binary-io (Depends-on):

Re: regex.o refuse to build with --enable-gcc-warnings

2013-07-09 Thread Paul Eggert
Thanks, I pushed the following; does it fix things for you? --- ChangeLog| 5 + lib/regex_internal.h | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 484484a..4d73a26 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2013