Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc



Module Name:    basesrc
Committed By:   darrenr
Date:           Wed May 10 12:22:36 UTC 2000

Modified Files:
        basesrc/usr.sbin/chown: chown.c

Log Message:
change the parsing of chown user[:gid] to the following:

1. if there is a colon present, use that as a separator for user:group

2. if there is no colon, attempt to convert the arg into a username,
   searching backwards in the string for a '.' for us.er.group

3. if the arg doesn't match a username and has a '.' in it, split it
   up and try user.group


To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 basesrc/usr.sbin/chown/chown.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index