Commit Graph

102 Commits

Author SHA1 Message Date
christos 85ef06032c fix nested externs
rename raise to upcase to avoid clash with raise(3)
2001-02-05 02:07:52 +00:00
simonb cd2e1c1e91 Use ${COPY} instead of -c for ${INSTALL} commands. 2000-09-23 13:53:41 +00:00
christos 253750edbd Add -E "dontsendempty" flag which does not send messages that have no
data. This is useful when piping cron error output to mail. While I am
there add -~ to be a synonym for -I [but don't document it]. This is for
compatibility with other OS's.
2000-09-19 01:12:48 +00:00
ad 5ec7c0582e printf fmt string without %s, from OpenBSD. 2000-07-06 14:12:31 +00:00
enami 7316fa55ad Pass ${INSTPRIV} to ${INSTALL}. 2000-07-05 03:30:07 +00:00
itojun 6bb623fa65 sync with sendmail path change (/etc/aliases -> /etc/mail/aliases) 2000-05-05 18:21:06 +00:00
soren 89c5a767f8 Fix doubled 'the's. 2000-03-13 22:55:05 +00:00
tron baa67f49cc Rename send() to sendmessage() to avoid conflict with send(2) in "libc".
Patch supplied by Geoff Adams in PR bin/9385.
2000-02-10 12:34:42 +00:00
mycroft f5d7100e26 Nuke `extern int errno;' in code we compile with -Wstrict-prototypes. We get
the correct definition from errno.h.
2000-01-21 17:08:33 +00:00
fair aff3242363 fix trivial nroff source bug, per PR 8724 1999-12-20 22:53:44 +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
mjl fb60b363d0 Added missing mailx tilde escapes that POSIX wants (~<!, ~a, ~A, ~i).
Updated man page and tilde help file for missing ~ escapes.
Closes PR 782 by Simon J. Gerraty after four years and two weeks.
1999-02-17 20:48:48 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
dean 11976ebb30 fixes for PR 3886, 4719, 5424
mail is more consistent in a su'd environment
unset works if the variable is in the environment
fixed off by one error with 'z' scrolling
1999-02-09 04:51:30 +00:00
he fbb55f0364 Set the 'crt' flag by default. This enables the pager, so that
messages > 24 lines do not scroll off the screen.  Fixes PR 6965
by Yours Truly.
1999-02-08 20:48:25 +00:00
kleink 75ff0c2532 Fix preprocessor logic bogon; from Michael Eriksson <eramer@era-t.ericsson.se>
in PR bin/6681.
1999-01-06 15:53:39 +00:00
christos ec1efbf3e5 Fix ifdef mess. 1998-12-19 16:35:10 +00:00
christos 2d72555862 char -> unsigned char 1998-12-19 16:34:38 +00:00
christos 288075599a union wait -> int 1998-12-19 16:34:04 +00:00
christos b1d8c6168d index -> strchr 1998-12-19 16:33:24 +00:00
christos 681c2d939c char -> unsigned char, index -> strchr 1998-12-19 16:33:08 +00:00
christos dcc0ef7552 char -> unsigned char 1998-12-19 16:32:52 +00:00
christos 9189a0e37d char -> unsigned char, index -> strchr, s.w_termsig -> WTERMSIG(s) 1998-12-19 16:32:34 +00:00
christos bd077f6919 char -> unsigned char 1998-12-19 16:31:57 +00:00
christos 09edb00354 char -> unsigned char, s.w_coredump -> WCOREDUMP(s) 1998-12-19 16:31:41 +00:00
christos 25b1fd1911 char -> unsigned char, index -> strchr, rindex -> strrchr 1998-12-19 16:30:52 +00:00
wsanchez 55ce51b29f Get rid of commons.
Rename vfree() to v_free() to avoid conflict in out libc's vfree().
1998-10-08 17:36:55 +00:00
lukem 9dee5d2b46 don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
hubertf 878450be44 messages are in /var/mail, not /usr/spool/mail 1998-08-27 21:24:41 +00:00
ross f670fa10c5 Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
mycroft 55ac0c2da3 const poisoning. 1998-07-26 21:58:46 +00:00
mrg 2beab49a06 - use an array MAXHOSTNAMELEN+1 size to hold hostnames
- ensure hostname from gethostname() is nul-terminated in all cases
- minor KNF
- use MAXHOSTNAMELEN over various other values/defines
- be safe will buffers that hold hostnames
1998-07-06 06:45:41 +00:00
ross 6afb00016c Don't segfault just because a line starts with null.
linebuf[count - 1] = 0, nice try
1998-06-10 05:28:16 +00:00
kleink 6f197c5b08 Include <time.h>, needed for various definitions. 1998-04-02 10:31:09 +00:00
perry 3fe138c146 RCS Id Police. 1998-01-09 08:03:16 +00:00
christos 1b853377db Make this work with obj dirs 1997-12-21 15:48:30 +00:00
bad d78ba35458 Fix a pasto that would cause coredumps on exit when the mailbox has been
changed and new mail has arrived in the mean time.  (PR bin/4644 Ken Wellsch)
While I'm here, fix typo in comment.
1997-12-07 21:27:10 +00:00
bad a444ae6099 Work around gcc -Wuninitialized lossage. 1997-11-26 22:41:36 +00:00
bad 2f2497e5de Detect more errors while manipulating mailbox files and tell the user
about them.  Don't truncate mailbox files when a write error has occured.
1997-11-25 17:58:15 +00:00
bad 6a203aafce Do not propagate local pipe and file address that are marked for deletion
into the mail header.
1997-11-25 17:55:52 +00:00
mrg 9f84449ae5 add missing .Nm sections. 1997-11-11 14:39:59 +00:00
mikel 27ccca6ffd fix numerous typos 1997-11-07 07:57:21 +00:00
mycroft ff7fbfe809 Make sure to clear the child's signal mask in all cases. 1997-10-31 22:48:12 +00:00
mycroft bd73dc49c1 Oops; previous change was incomplete. 1997-10-31 22:21:37 +00:00
mycroft 4dc2ef91eb Slight simplification of some signal handling goo. 1997-10-31 22:18:05 +00:00
christos a2e8434f60 revert previous. It was dumb. 1997-10-31 22:15:52 +00:00
christos c8963b13e9 Forgot to commit this somehow [part of the signal mask botch fix] 1997-10-31 21:23:46 +00:00
mycroft 004f255040 Use S_IS*(), not S_IF*. 1997-10-19 19:27:40 +00:00
mycroft d8703622b5 Use _POSIX_VDISABLE, not 0, to disable special characters. 1997-10-19 16:49:15 +00:00
mrg 069922f852 fix compile warnings on the alpha. 1997-10-19 14:12:22 +00:00