summaryrefslogtreecommitdiff
path: root/usr.bin/dirname
AgeCommit message (Collapse)Author
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.Todd C. Miller
2016-10-28Delete some useless setlocale(3) calls in /usr/bin, no functional change.Ingo Schwarze
Patches from Jan Stary <hans at stare dot cz>, tweaked by me and tb@. While here, apply some simple style improvements: Sort headers, static void __dead usage(), return from main(), zap case '?', drop /* NOTREACHED */, drop break after usage(), ... OK tb@ millert@
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-05tame "stdio rpath" or tame "stdio" suffices for all of these programs.Theo de Raadt
fairly easy to audit by running nm and noticing nothing beyond base stdio except for fopen/freopen. Then review all callpaths to those functions, and place the tame() calls. ok sthen
2014-02-16HISTORY and AUTHORS; researched and written at Singapore Changi Airport;Ingo Schwarze
ok millert@ jmc@ sobrado@
2010-09-03add an EXIT STATUS section for /usr/bin;Jason McIntyre
2010-08-10s/Usage/usage/Igor Sobrado
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-02-08bump the posix reference in STANDARDS to IEEE Std 1003.1-2008, with a fewJason McIntyre
updates to follow;
2009-01-04replace hardcoded exit values with .Ex macros;Igor Sobrado
ok jmc@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-30- use a consistent text for STANDARDSJason McIntyre
- note which options are extensions to POSIX
2005-04-07Reintroduce getopt(3) for option processing. POSIX requires tools thatOtto Moerbeek
take no options to recognize --. ok deraadt@ jaredy@ millert@
2003-07-10add missing includesDavid Krause
ok deraadt@ tedu@
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
where applicable.
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.
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.Todd C. Miller
2001-12-02Clarify man page and usage string to say 'pathname' and not 'string'Todd C. Miller
or 'dir'. Closes PR 2216; s AT msmith.net
2001-07-05include <err.h>Paul Janzen
2001-07-05Move manpage to appropriate directoryPaul Janzen
1998-06-21Remove the advertising clause in my old license, it impedes free useTodd C. Miller
of the code as a large number of similar clauses makes it impossible to write an ad for a product using the code...
1997-09-21$OpenBSD$Theo de Raadt
1997-08-17Use dirname(3)Todd C. Miller
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt