Re: [PATCH gnumach] Inline version.m4 into configure.ac

2011-11-11 Thread Guillem Jover
On Thu, 2011-11-10 at 12:02:38 +0100, Thomas Schwinge wrote: > On Thu, 10 Nov 2011 04:49:25 +0100, Guillem Jover wrote: > > I introduced that file because at the time the source tree had multiple > > configure.in, so sharing the definitions seemed saner. But then this > > could have been merged ba

[PATCH,HURD] Fix mknod cleanup on error

2011-11-11 Thread Samuel Thibault
Hello, mknod() spuriously deallocates its node port on errors such as EROFS. Samuel 2011-11-11 Samuel Thibault * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Also store result of `__dir_mkfile' in new `errnode' variable. Only deallocate `node' if errnode is 0. diff --git a/sysdeps/mach/hurd/x

Re: bug#10021: [PATCH id] Add error-checking on GNU

2011-11-11 Thread Jim Meyering
Ludovic Courtès wrote: > On GNU, processes can have zero or more UIDs/GIDs. In the case of a > process with zero UIDs, for instance, ‘getuid’ returns -1 and sets > ERRNO [0] (as an extension to POSIX [1].) > > Currently ‘id’ would print (unsigned int) -1 as the UID in that case, > whereas it shoul

Re: [PATCH] Provide modern Autoconf initialization

2011-11-11 Thread Ludovic Courtès
Hello! Here’s an updated patch based on your comments, OK to apply? If that’s fine with you, I can prepare a patch to switch to Gnulib’s ‘git-version-gen’, while we’re at it. Thanks, Ludo’. diff --git a/Makeconf b/Makeconf index 49375fb..b6134ef 100644 --- a/Makeconf +++ b/Makeconf @@ -35,9 +35

[PATCH id] Add error-checking on GNU

2011-11-11 Thread Ludovic Courtès
Hello, On GNU, processes can have zero or more UIDs/GIDs. In the case of a process with zero UIDs, for instance, ‘getuid’ returns -1 and sets ERRNO [0] (as an extension to POSIX [1].) Currently ‘id’ would print (unsigned int) -1 as the UID in that case, whereas it should rather print an error.