Commit Graph

25 Commits

Author SHA1 Message Date
sevan 39bbc68a3b Drop main() prototype. 2016-09-05 00:40:28 +00:00
dholland 9dc9693718 Avoid leaking a file handle on error opening the next file. From
David Binderman in PR 50577.
2015-12-31 01:16:47 +00:00
christos 6e28978d84 fix unused variable warnings 2013-10-18 20:47:06 +00:00
matt d34c2845b8 Use C89 function definitions 2012-03-20 20:34:57 +00:00
plunky 9f61b80465 NULL does not need a cast 2011-08-31 16:24:54 +00:00
lukem 2103c225d0 fix -Wcast-qual issues 2009-04-12 14:31:02 +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
mjl a98a0c3daf Complain if $HOME is not set instead of using a null pointer. 2001-07-01 00:20:47 +00:00
ad d41623ba32 - Use strlcpy(), snprintf().
- Use MAXPATHLEN.
- printf fmt string without %s, from OpenBSD.
2000-07-06 14:21:47 +00:00
kleink ad4023c857 Fall back to more(1) if PAGER is set but null. 1999-06-13 19:38:04 +00:00
mrg 525cc80c04 use mkstemp 1999-04-20 07:24:49 +00:00
christos fc8ac77abf we don't have d_namlen in svr4, and char -> unsigned char 1998-12-19 20:08:03 +00:00
mycroft 11474d8d50 Don't core dump if the uid is invalid. 1998-07-26 22:14:34 +00:00
lukem 37a5154c26 deprecate register 1997-10-19 05:19:54 +00:00
lukem c72c1882ab WARNSify, use <termcap.h> 1997-10-14 01:28:47 +00:00
phil aa70cacc5f Apply patch from PR 1474, checking results of reading from the
bounds file.
1997-07-24 22:45:23 +00:00
pk b55c3729fe NULL => 0 (Arne Juul; PR#3629) 1997-05-17 20:09:26 +00:00
tls c276504da8 Sync with 4.4BSD-Lite2 1995-09-28 06:57:37 +00:00
cgd bc7a7b9726 clean up, include, strictness, chmod mode, and don't forget a chmod 1994-02-19 09:11:33 +00:00
mycroft 66b967af30 Patches from Alan Batie <batie@agora.rain.com> and mte@hpy.fi to make
msgs(1) work, add a `-r' option for restricted operation, and use $PAGER.
1994-01-07 16:22:15 +00:00
jtc a3881ff7a8 Use <dirent.h> instead of <sys/dir.h>. 1993-12-04 01:49:05 +00:00
jtc 2e3e4d6fc1 Change fopen(fname, "a") to fopen(fname, "w") so that the current message
number is updated in place rather than appended to the end.
1993-10-26 18:24:02 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00