Re: Patch proposal for id.c and groups.c to fix afs bug

2008-03-04 Thread Jim Meyering
Didi <[EMAIL PROTECTED]> wrote: > Just so we don't talk past each other. The problem is that there could > be a case where the 'id' or 'group' commands are called but there is > no user name, neither on the command line nore in the system > (getlogin() == NULL). > > The case when an invalid user is

Re: Patch proposal for id.c and groups.c to fix afs bug

2008-03-04 Thread Didi
Hey Just so we don't talk past each other. The problem is that there could be a case where the 'id' or 'group' commands are called but there is no user name, neither on the command line nore in the system (getlogin() == NULL). The case when an invalid user is given on the commandline is cought by

Re: Patch proposal for id.c and groups.c to fix afs bug

2008-03-03 Thread Jim Meyering
Didi <[EMAIL PROTECTED]> wrote: > Sorry for any violation of any mailing list rules, this is my first > patch to coreutils. Hello! No violation ;-) Thanks for the report and patch. > On some systems, with AFS, if you call 'id' or 'groups' without a user > name parameter it will return a huge gro