summaryrefslogtreecommitdiff
path: root/usr.bin/look/look.c
AgeCommit message (Expand)Author
2017-02-21Properly check mmap(2) return value. We can end up with a segmentationleot
2012-02-23Don't use while-loop with empty body.joerg
2011-09-04ANSIfy + static + __deadjoerg
2009-04-26fix broken overflow test.christos
2009-04-12Fix WARNS=4 issueslukem
2008-07-21Remove the \n and tabs from the __COPYRIGHT() strings.lukem
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
1998-02-20Nit: Use MAP_SHARED for read-only mappings where appropriate.mycroft
1998-02-17Add MAP_PRIVATE|MAP_FILE to mmap() call.augustss
1997-10-19WARNSify, fix .Nm usage, getopt returns -1 not EOF, deprecate registerlukem
1995-08-31Sync with 4.4lite2jtc
1994-12-23Merged with 4.4lite.jtc
1994-03-28no more MAP_FILEcgd
1993-10-13#include <unistd.h>, so getopt(), optarg, opterr, optind, and optoptjtc
1993-08-01Add RCS identifiers.mycroft
1993-04-19Cleanup for GCC 2.mycroft
1993-04-09added, from net/2 (patch 124).cgd