summaryrefslogtreecommitdiff
path: root/bin/chmod/chmod.c
AgeCommit message (Collapse)Author
2006-04-25various small lint cleanups; ok ottoTheo de Raadt
2006-01-25some warning reductionTed Unangst
2006-01-25an old diff from tech to convert to using strtonum and some other miscTed Unangst
cleanup. from ray at cyth net
2005-11-29kill unused var found by lint. ok deraadt@Otto Moerbeek
2005-10-15sync usage();Jason McIntyre
2004-07-01setmode(3) returns void *, not mode_t *. ok millert@Otto Moerbeek
2004-02-16If the user does "chown foo.bar" check to see if foo.bar is a usernameTodd C. Miller
before picking it apart into a username.group pair. OK deraadt@
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-01Undo a misguided attempt to fix speling errors from long ago. UCBTodd C. Miller
copyrights say "acknowledgement", not "acknowledgment". You cannot just go changing the text of a license willy-nilly.
2002-07-04ansiTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2000-07-31make -h option work again, it was left out on the getopt stringEric Jackson
2000-07-19merge chflags(1) into chmod.Michael Shalayeff
also, use new strtofflags, avoid ls/stat_flags.c usage. millert@ ok
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
constant). These are not security holes but it is worth fixing them anyway both for robustness and so folks looking for examples in the tree are not misled into doing something potentially dangerous. Furthermore, it is a bad idea to assume that pathnames will not include '%' in them and that error routines don't return strings with '%' in them (especially in light of the possibility of locales).
2000-06-09oopsMichael Shalayeff
2000-06-09merge chown/chgrp into chmod.Michael Shalayeff
provide symlinks from old location for the time being.
1997-11-08spellingTodd T. Fries
1997-06-28somebody added setlocale() w/o locale.hgrr
1997-06-27setlocale; kleinkTheo de Raadt
1996-12-14-Wall'ing.Michael Shalayeff
1996-08-02zap getopt() case of -?, come on, it is the default!Theo de Raadt
1996-06-23update rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt