summaryrefslogtreecommitdiff
path: root/usr.bin/look/look.c
AgeCommit message (Expand)Author
2022-12-04userspace: remove vestigial '?' cases from top-level getopt(3) loopsScott Soule Cheloha
2022-02-10look(1): use a stricter pledge(2) in lieu of unveil(2)Scott Soule Cheloha
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2021-07-12Change the error reporting pattern throughout the tree when unveilBob Beck
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-08-11look(1) will access /usr/share/dict/words to look for the string we want, or itRicardo Mestre
2017-01-21Nuke more whitespace caught in the headlights of "warning:"Kenneth R Westerback
2017-01-21Accommodate gcc's suggestion that assignments used as truth valuesKenneth R Westerback
2016-09-13Eliminate the FOLD and DICT macros. There's no need to check forTodd C. Miller
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-07tame "stdio rpath", for the open with O_RDONLY.Theo de Raadt
2015-02-06SIZE_MAX is standard, we should be using it in preference to theTodd C. Miller
2014-05-20Use errc/warnc to simplify code.Philip Guenther
2013-11-26unsigned char casts for ctypeTheo de Raadt
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2009-06-17synchronize synopsis and usage.Igor Sobrado
2005-06-25Fix typo in a comment.Niall O'Higgins
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2002-03-01Fix an err() that should really be errx()Todd C. Miller
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-19kill more registersMike Pechkin
2000-10-12Check the mmap return value against MAP_FAILED, not NULL.Artur Grabowski
1999-12-21Use MAP_PRIVATE for mmap() flags instead of 0. With UVM this defaultsTodd C. Miller
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