summaryrefslogtreecommitdiff
path: root/usr.bin/what/what.c
AgeCommit message (Collapse)Author
2023-03-08Delete obsolete /* ARGSUSED */ lint comments.Philip Guenther
ok miod@ millert@
2020-04-18Add a colon after the name/path/argument to conform to POSIX.Martijn van Duren
From Andras Farkas (deepbluemistake <at> gmail <dot> com) OK sthen@ deraadt@
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-06simple tame "stdio rpath"Theo de Raadt
2015-01-22Processing $OpenBSD$ as well as sccs's @(#) is an OpenBSD extension, andKenneth R Westerback
should stop displaying the line at the 2nd '$'. Clarify intended behaviour in man page. ok millert@ beck@ deraadt@
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
2003-07-10add missing includesDavid Krause
ok deraadt@ tedu@
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-05-02Update to conform to Posix 1003.1-2001.Nils Nordman
* what now accepts a -s parameter which causes it to quit searching after finding the first match. * stdin is no longer valid for input, one or more filenames have to be provided. * Backslash is recoqnized as a pattern delimiter. * The exit status reflects the number of mathes found (0 if any matches were found, 1 otherwise). Also replace strncpy -> strlcpy. Mostly a sync with netbsd. Input pjanzen@, vincent@. ok millert@.
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
1999-08-16fix includesArtur Grabowski
1996-06-26put the tab inTheo de Raadt
1996-06-26handle $OpenBSD$ rcsid... using uname too!Theo de Raadt
1996-06-26rcsidTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt