Source-Changes archive

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

Re: CVS commit: basesrc



There are other places this should be done, like newsyslog and inetd. Maybe
a function in libutil would be a good thing.

Darren Reed <darrenr%netbsd.org@localhost> wrote:

> 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



Home | Main Index | Thread Index | Old Index