Commit Graph

24 Commits

Author SHA1 Message Date
wiz 01869ca4d2 Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
leot 535ea0f76d Properly check mmap(2) return value. We can end up with a segmentation
fault if the user does not provide a regular file as look(1) file
argument.

Kindly reviewed by <Riastradh>
2017-02-21 09:23:31 +00:00
joerg 70dcb9704f Don't use while-loop with empty body. 2012-02-23 22:57:53 +00:00
joerg 4e46e5935f ANSIfy + static + __dead 2011-09-04 20:29:12 +00:00
joerg 762152502e Reorder sections to canonical order. 2010-05-14 17:06:40 +00:00
christos c37383f14b fix broken overflow test. 2009-04-26 15:55:50 +00:00
lukem 004f13177b Fix WARNS=4 issues 2009-04-12 14:01:20 +00:00
lukem 98e5374ccb Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
ross 2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
wiz aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
fair dc026e0515 Change occurrences of "UNIX" to .Ux or .At as appropriate. 1998-04-28 06:00:51 +00:00
mycroft f49407ea34 Nit: Use MAP_SHARED for read-only mappings where appropriate. 1998-02-20 09:26:00 +00:00
augustss d379dadee2 Add MAP_PRIVATE|MAP_FILE to mmap() call. 1998-02-17 17:45:55 +00:00
lukem 7eabdb0e54 WARNSify, fix .Nm usage, getopt returns -1 not EOF, deprecate register 1997-10-19 04:21:27 +00:00
jtc 4d85334f0f Sync with 4.4lite2 1995-08-31 22:36:32 +00:00
jtc 2b8585be05 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
Changed to use err() and errx().
1994-12-23 01:10:55 +00:00
cgd 95d6a185be no more MAP_FILE 1994-03-28 02:07:04 +00:00
jtc 2ddbb97f0f #include <unistd.h>, so getopt(), optarg, opterr, optind, and optopt
declarations can be removed from <stdlib.h>.
1993-10-13 18:33:45 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
mycroft 87d1fd6d8a Cleanup for GCC 2. 1993-04-19 07:03:56 +00:00
cgd dab5e017db added, from net/2 (patch 124). 1993-04-09 12:58:42 +00:00