christos
56b933f4a2
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.
2011-09-03 09:02:20 +00:00
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
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
is
135600f947
More format string cleanup by sommerfeld.
2000-10-11 14:46:00 +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
jtc
ae646d0e62
Merged with 4.4lite.
...
Changed to conform to NetBSD's new RCS Id convention.
1994-11-23 07:41:55 +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