Commit Graph

15 Commits

Author SHA1 Message Date
kleink 52a3f39615 POSIX.2 utilities must call setlocale(LC_ALL, ""); 1997-06-26 23:18:05 +00:00
jtc 93eaf3dc87 A user name can be invalid, but not illegal 1997-05-02 01:36:18 +00:00
mikel d917a6370d RCSid police; getopt() return type police; rindex() -> strrchr() 1997-03-06 06:26:07 +00:00
jtc 642d0e3938 Remove chownerr() function completely and use warn() instead.
chownerr() would prematurely terminate the program if a error occured
(lack of permissions, nonexistant file, etc.), but POSIX.2 requires
that the chown and chgrp utilities continue on.  Removing the code
that caused the program to exit turned chownerr into a wrapper
around warn(), so why not call warn() directly.

Also changed the file traversal logic so that directories are not
chown()'d twice.  This only occured when the -R option was not used.
1995-06-03 07:01:19 +00:00
jtc e095500d0c In chownerr(), check to see if new group is the effective group id as
well as in the supplementary group id array.
1995-06-03 06:09:03 +00:00
cgd d8806814a6 specify man pages the new way. 1994-12-22 11:32:57 +00:00
cgd a6ef9be155 clean up import 1994-06-18 20:55:54 +00:00
jtc abfeba19ee Getgroup's second argument is now a gid_t ptr. 1994-04-01 01:19:08 +00:00
jtc 5187624c00 Use ".St -p1003.2-92" macro instead of spelling it out. 1993-11-30 00:36:01 +00:00
jtc cd816f9f1e As of POSIX.2, getopt returns -1 instead of EOF on error. Changed the code
to match just in case someone changes the value of EOF.
1993-11-19 20:02:53 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft cda4f8f6ee Add RCS identifiers. 1993-08-01 05:37:30 +00:00
cgd 3e510d3b79 made link to chgrp relative 1993-04-05 03:42:43 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00