History log of /netbsd-src/usr.bin/tail/reverse.c (Results 1 – 23 of 23)
Revision Date Author Comments
# d44b4781 03-Sep-2011 christos <christos@NetBSD.org>

minor knf, no functional change.


# 221bb4e4 03-Sep-2011 christos <christos@NetBSD.org>

leave the original errno as it was. don't report EFBIG on all mmap failures.


# 56b933f4 03-Sep-2011 christos <christos@NetBSD.org>

Instead of declaring our own err() which is different than the standard one,
and using it incorrectly in a few places because of confusion (does it print
errno or not?), declare two versions followin

Instead of declaring our own err() which is different than the standard one,
and using it incorrectly in a few places because of confusion (does it print
errno or not?), declare two versions following the standard ones xerrx and,
xerr, and use those as appropriate, implementing them using them vwarn and
vwarnx.

show more ...


# 0980aab5 13-Apr-2009 lukem <lukem@NetBSD.org>

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


# 3bf01f5c 09-Apr-2006 christos <christos@NetBSD.org>

Duh fixed error printing.


# 034e8bc3 09-Apr-2006 christos <christos@NetBSD.org>

Coverity CID 1580: Plug memory leak.


# 7bbdd188 05-Jun-2005 chs <chs@NetBSD.org>

appease gcc -Wuninitialized on hp700.


# 7551fb02 16-Feb-2004 itojun <itojun@NetBSD.org>

do not use long for file offset, use off_t. otto@openbsd


# 89aaa1bb 07-Aug-2003 agc <agc@NetBSD.org>

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.


# 3c4c9d2b 14-Jun-2002 wiz <wiz@NetBSD.org>

Remove #if __STDC__. De-__P() and ANSIfy.


# 9cfe468c 16-Jan-2001 cgd <cgd@NetBSD.org>

avoid C sequence point issues warned about by development version of gcc.


# c2b84904 04-Jan-2001 lukem <lukem@NetBSD.org>

use %ll_ instead of the less standard %q_


# b02d8140 21-Jul-1999 cgd <cgd@NetBSD.org>

avoid repeated error messages by making bytes(), lines() and rlines() return
meaningful values, which can then be checked to avoid another error message.


# 8f225004 20-Feb-1998 mycroft <mycroft@NetBSD.org>

Use MAP_SHARED, not MAP_PRIVATE.


# 170f7ea8 17-Feb-1998 augustss <augustss@NetBSD.org>

Add MAP_FILE as well.


# f9cd93c8 17-Feb-1998 augustss <augustss@NetBSD.org>

Make sure mmap() uses MAP_PRIVATE instead of 0.


# 079884da 19-Oct-1997 lukem <lukem@NetBSD.org>

WARNSify, fix .Nm usage, deprecate register, getopt returns -1 not EOF


# ae646d0e 23-Nov-1994 jtc <jtc@NetBSD.org>

Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.


# 48851c7a 23-Nov-1994 jtc <jtc@NetBSD.org>

munmap() mmap()ed regions.


# 907eea9f 24-Apr-1994 deraadt <deraadt@NetBSD.org>

various off_t fixes


# ceacf6a3 28-Mar-1994 cgd <cgd@NetBSD.org>

off_t foo, and MAP_FILE


# e9d867ef 01-Aug-1993 mycroft <mycroft@NetBSD.org>

Add RCS identifiers.


# aa97860f 30-Apr-1993 glass <glass@NetBSD.org>

tail from ftp.uu.net:bsd-sources integrated