Commit Graph

20 Commits

Author SHA1 Message Date
lukem 0980aab530 Fix WARNS=4 issues (-Wcast-qual -Wshadow -Wsign-compare)
XXX: need a "cleaner" way to do the check in reverse.c, as a general rule
2009-04-13 23:33:25 +00:00
christos 3bf01f5c84 Duh fixed error printing. 2006-04-09 19:39:17 +00:00
christos 034e8bc313 Coverity CID 1580: Plug memory leak. 2006-04-09 19:37:50 +00:00
chs 7bbdd188e1 appease gcc -Wuninitialized on hp700. 2005-06-05 19:08:28 +00:00
itojun 7551fb024f do not use long for file offset, use off_t. otto@openbsd 2004-02-16 21:57:04 +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
wiz 3c4c9d2b57 Remove #if __STDC__. De-__P() and ANSIfy. 2002-06-14 00:41:42 +00:00
cgd 9cfe468c74 avoid C sequence point issues warned about by development version of gcc. 2001-01-16 02:41:17 +00:00
lukem c2b84904ae use %ll_ instead of the less standard %q_ 2001-01-04 23:05:54 +00:00
cgd b02d81404c avoid repeated error messages by making bytes(), lines() and rlines() return
meaningful values, which can then be checked to avoid another error message.
1999-07-21 06:38:49 +00:00
mycroft 8f2250049f Use MAP_SHARED, not MAP_PRIVATE. 1998-02-20 07:34:59 +00:00
augustss 170f7ea829 Add MAP_FILE as well. 1998-02-17 17:44:55 +00:00
augustss f9cd93c874 Make sure mmap() uses MAP_PRIVATE instead of 0. 1998-02-17 17:40:59 +00:00
lukem 079884da30 WARNSify, fix .Nm usage, deprecate register, getopt returns -1 not EOF 1997-10-19 23:45:08 +00:00
jtc ae646d0e62 Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-11-23 07:41:55 +00:00
jtc 48851c7a0b munmap() mmap()ed regions. 1994-11-23 07:11:00 +00:00
deraadt 907eea9f85 various off_t fixes 1994-04-24 20:19:17 +00:00
cgd ceacf6a332 off_t foo, and MAP_FILE 1994-03-28 02:22:29 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
glass aa97860f48 tail from ftp.uu.net:bsd-sources integrated 1993-04-30 08:04:52 +00:00