getgrnam(3) bug

Ian Donaldson rcodi at yabbie.rmit.oz
Thu May 26 10:57:04 AEST 1988


>From article <123000002 at ishmael>, by cball at ishmael:
>>/* ---------- "getgrnam(3) bug" ---------- */
>>		testgroup:*:1234:somebodyelse
>>		testgroup:*:1234:myself
> 
> This proposed format significantly changes the semantics of the group file.
> A more natural extension would be the use of a line continuation character.
> I suggest the following:
> 
> 		testgroup:*:1234:somebody,somebodyelse,\
> 		myself,yourself

Whilst this sounds a good idea initially, I suspect it would break more
code than its worth.

How many of you use "cut -d: -f1 /etc/group | something" ...

I suspect a lot of maintenance scripts out there would break instantly.
 
Ian D



More information about the Comp.bugs.4bsd.ucb-fixes mailing list