I think your patch is ok, but I have thought more and think that it is the wrong place to make this change.
The same situation happens with getpgid, and you will see that in the case of getpgid, the C library handles the zero-argument case itself. I believe that the same should be done here, for the sake of consistency. So it seems to me that we should fix this by changing sysdeps/mach/hurd/getsid.c in the C library source instead. Thomas _______________________________________________ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd