[...@gnu.org: Re: filenames in error messages]

2009-03-07 Thread Karl Berry
rms insists that we use \-escapes in filenames; %xx for url's is ok with him. He apparently accepts all other aspects of proposal B, that is, "..." for escaped filenames and <...> for urls. Unless someone wants to argue with him about it (a waste of time IMHO), or there are other points of discus

[PATCH] Fix bug on Solaris that prevents setuid root files from being created

2009-03-07 Thread David Bartley
Hello, The following two patches (1 for tar, 1 for gnulib) fix the bug I reported earlier [1]. I ran 'make check' successfully on Linux as well. [1] http://lists.gnu.org/archive/html/bug-tar/2009-03/msg5.html -- David From 5ae2d3ef36c367d4c65a38792247975f580c8e44 Mon Sep 17 00:00:00 2001 Fro

Re: automatically preventing merge commits on master

2009-03-07 Thread Jim Meyering
Bruno Haible wrote: > Oops, I did it again. This time, I have a history of what I did, and I'm sure > I worked in a single gnulib checkout: > > - Did a "git commit" of some change, but did not push it. > - In the meantime you did your commit. > - Then, in rapid sequence: > git pull > git co

new modules for locale dependent Unicode string comparisons

2009-03-07 Thread Bruno Haible
I've added a set of Unicode string comparison functions which use the collation rules of the current locale. 2009-03-07 Bruno Haible New module 'uninorm/u32-normcoll'. * lib/uninorm/u32-normcoll.c: New file. * modules/uninorm/u32-normcoll: New file. New module

Re: automatically preventing merge commits on master

2009-03-07 Thread Bruno Haible
Hi Jim, Oops, I did it again. This time, I have a history of what I did, and I'm sure I worked in a single gnulib checkout: - Did a "git commit" of some change, but did not push it. - In the meantime you did your commit. - Then, in rapid sequence: git pull git commit ChangeLog modules/uni

Re: new module 'memxfrm'

2009-03-07 Thread Bruno Haible
This patch improves the calling convention of memxfrm(), so that it does allows preallocated buffers, to minimize the overhead of memory allocation. --- lib/memxfrm.h.orig 2009-03-07 14:19:47.0 +0100 +++ lib/memxfrm.h 2009-03-07 14:16:50.0 +0100 @@ -33,10 +33,12 @@ resto

Re: Possible bug in fseek/fseeko/lseek modules on MinGW

2009-03-07 Thread Bruno Haible
Hello Martin, > a user reported a bug in the MinGW version of mpop. After narrowing the > problem down, it seems that after 'fseek(f, 0, SEEK_SET)' is called for > a file 'f' that was opened in mode "r+", subsequent attempts to write to > 'f' (e.g. with fprintf) will fail on MinGW when the gnulib

new module 'memxfrm'

2009-03-07 Thread Bruno Haible
Paul Eggert has written the module 'memcoll', which generalizes the 'strcoll' function to work on strings with embedded NULs. Here is the generalization of 'strxfrm' to strings with embedded NUL bytes. Jim, I think it could provide some speedup if the coreutils file src/sort.c was changed to us

Possible bug in fseek/fseeko/lseek modules on MinGW

2009-03-07 Thread Martin Lambers
Hi, a user reported a bug in the MinGW version of mpop. After narrowing the problem down, it seems that after 'fseek(f, 0, SEEK_SET)' is called for a file 'f' that was opened in mode "r+", subsequent attempts to write to 'f' (e.g. with fprintf) will fail on MinGW when the gnulib fseek module is in

new module 'memcmp2'

2009-03-07 Thread Bruno Haible
In the area of strcoll/memcoll and its generalization to Unicode strings, the following generalization of memcmp is useful. I'm adding it as a new module. 2009-03-07 Bruno Haible New module 'memcmp2'. * lib/memcmp2.h: New file. * lib/memcmp2.c: New file. * modul