mrg
de11d87641
introduce some common variables for use in GCC warning disables:
...
GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)
use these to turn off warnings for most GCC-8 complaints. many
of these are false positives, most of the real bugs are already
commited, or are yet to come.
we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
2019-10-13 07:28:04 +00:00
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
dholland
a32d5d5201
Fix documentation of how to expire old messages. For some reason the
...
expiration period must be given as a negative number, indicating how
many days ago to place the expire threshold.
PR 48404 from Martin Neitzel.
2013-11-24 19:49:22 +00:00
christos
6e28978d84
fix unused variable warnings
2013-10-18 20:47:06 +00:00
wiz
3957bea1ef
Fix whitespace nits. Suggested by Bug Hunting.
2012-03-22 07:58:16 +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
roy
98eb889579
Userland now builds and uses terminfo instead of termcap.
...
OK: core@, jdc@
2010-02-03 15:34:37 +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
sketch
6f068797e2
Fix obvious grammar mistake. Most of this file could do with a rewrite.
2004-09-03 14:24:50 +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
990562bfef
.Nm does not need a dummy argument ("") before punctuation or
...
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
mjl
f395946596
Correct typos (from OpenBSD).
2003-01-12 21:04:06 +00:00
grant
be8ae688ae
New sentence, new line.
2002-09-30 11:08:56 +00:00
wiz
5a6fae6674
Punctuation nit, sort SEE ALSO.
2001-12-01 20:44:29 +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
itojun
6bb623fa65
sync with sendmail path change (/etc/aliases -> /etc/mail/aliases)
2000-05-05 18:21:06 +00:00
mycroft
625f1f9bb9
Don't use .Fl for non-flags.
1999-08-29 17:50:09 +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
garbled
9e44e9b578
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
...
so we shouldn't override it with versions in the manpages. Many more to
come.
1999-03-22 18:16:34 +00:00
christos
fc8ac77abf
we don't have d_namlen in svr4, and char -> unsigned char
1998-12-19 20:08:03 +00:00
jwise
ed12d196f3
msgs uses /var/msgs, not /usr/msgs. Closes PR bin/6464
1998-11-20 03:18:25 +00:00
mycroft
11474d8d50
Don't core dump if the uid is invalid.
1998-07-26 22:14:34 +00:00
christos
cb47578732
Use -ltermcap instead of -ltermlib
1998-02-05 12:15:51 +00:00
lukem
37a5154c26
deprecate register
1997-10-19 05:19:54 +00:00
lukem
00c29d5afe
don't define WARNS=1 here
1997-10-19 04:23:02 +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
a218d38dc2
need -lcompat
1994-05-23 05:32:40 +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
jtc
ddef4b09bc
Remove ${LIBCOMPAT} from DPADD --- it was removed from LDADD a long time ago.
1993-10-26 18:21:36 +00:00
jtc
37f6fbfafe
/usr/ucb -> /usr/bin, /usr/msgs -> /var/msgs
1993-08-17 20:02:27 +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
cgd
c06b7907ef
doesn't need -lcompat
1993-04-09 12:22:07 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00