summaryrefslogtreecommitdiff
path: root/usr.bin/id/id.c
AgeCommit message (Collapse)Author
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2009-10-12source code can fit on a 80-column display, no binary change.Igor Sobrado
2004-11-16-p supports optional [user] arg;Jason McIntyre
from matthew clarke;
2004-07-19use strtonum with proper bounds instead of abusing strtoul; ok millertPeter Valchev
2004-05-31zap unused variables, ok beck@Pedro Martelletto
2004-01-07Proper use of uid_t and did_t types instead of a generic int.Thierry Deval
Lovingly baited by deraadt@. Ok himself, otto@
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
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.
2001-11-19kill more registersMike Pechkin
millert@ ok
2001-07-12first pass at a -Wall cleanupTheo de Raadt
1999-08-18Fix a printf() so `id' and `id username' produce similar output; inspired byAaron Campbell
NetBSD, millert@ok.
1999-07-23- Missing newline when euid != ruid; from FreeBSDAaron Campbell
- Also, sync the usage() to the man page (add -p syntax).
1997-07-25use err(3)Michael Shalayeff
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-06-30Wall, and seperate uid and gid typesTheo de Raadt
1997-01-15getopt(3) returns -1 when out of args, not EOF, whee!Todd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt