summaryrefslogtreecommitdiff
path: root/usr.bin/basename/basename.c
AgeCommit message (Expand)Author
2016-10-28Delete some useless setlocale(3) calls in /usr/bin, no functional change.Ingo Schwarze
2015-12-24Use return rather than exit to enable the stack protector. Frommmcc
2015-12-24Order includes. From fritjof@alokat.orgmmcc
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-03even before it reaches getopt(), this program will never do more thanTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2005-04-12Special-case the old basename "" returns "" behaviour. Some peopleOtto Moerbeek
2005-04-07- Reintroduce getopt(3) for option processing. POSIX requires tools thatOtto Moerbeek
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
1997-08-17Don't call getopt(3) since a) there are not switches and b) '-' isTodd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt