Commit Graph

149 Commits

Author SHA1 Message Date
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
mycroft
eae3d4c198 Fill in the microseconds fields for utimes(2). 1997-10-19 13:48:21 +00:00
lukem
7c81c8f378 WARNSify, fix .Nm usage, deprecate register, use <err.h> 1997-10-19 05:02:57 +00:00
matt
6db79ef042 Allow mailboxes to be in <cr><lf> format. 1997-10-18 15:48:48 +00:00
mycroft
e96e918e60 Use bsd.subdir.mk as appropriate. 1997-10-11 09:34:07 +00:00
christos
dbcb6055f7 PR/4150: sigint/sighup stays blocked after first letter cancellation. 1997-09-25 19:56:15 +00:00
mikel
1ac5792267 update printf formats to match type of line counts 1997-07-09 05:29:48 +00:00
mikel
70875d29b0 protect more variables against gcc longjmp() clobbering 1997-07-09 05:25:45 +00:00
mikel
f50e8d7409 make matchto() return type explicit 1997-07-09 05:23:36 +00:00
mikel
adaf168e3f add prototype for incfile() 1997-07-09 05:22:00 +00:00
jtc
4ca4391165 /usr/spool/mail -> /var/mail 1997-07-09 02:53:39 +00:00
phil
a8316bbccd Fixed bug where long lines (>1023 characters in current implementation)
were viewed as multiple lines by both standard input and ~<file.
Closes PR 3463.
1997-07-07 22:57:52 +00:00
pk
f890b048ac NULL => 0 (Arne Juul; PR#3629) 1997-05-17 19:47:50 +00:00
mikel
d42ad5411c don't try to ignore invalid signal; fixes PR bin/2901. 1997-05-13 06:48:42 +00:00
mikel
254cb6fdc9 fix some potential buffer overflows, and other cleanup. 1997-05-13 06:15:52 +00:00
christos
3917c3179d - Makefile cleanups 1997-03-24 21:57:01 +00:00
mouse
650ee578da alternate -> alternative, per PR 2643 1997-03-08 14:13:54 +00:00
perry
bb1df8311a document mo command, per pr-3104 by Julian <jdc@orthanc.ncl.ac.uk> 1997-01-17 04:58:12 +00:00
perry
21e443a885 mail.rc now installed by 'make distribution' -- fixes pr-3015 1997-01-16 23:10:16 +00:00
tls
9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
tls
19d35cbcd9 Sync with 4.4BSD-Lite2 1996-12-28 07:10:57 +00:00
tls
517427d9e1 Import of 4.4BSD-Lite2 source 1996-12-28 05:17:06 +00:00
tls
26d28c381f Import of 4.4BSD-Lite (already merged at head) 1996-12-28 05:15:19 +00:00
christos
faad20023f Fix PR/2900: Handle case where the signal mask is NULL. 1996-10-29 00:02:01 +00:00
thorpej
150c33e60b Use ${INSTALL}. 1996-10-18 05:55:26 +00:00
christos
88b833a7cd - Fix PR/105: Implement dot locking protocol and check return value of flock.
- Fix PR/2247: Don't call unknown users "ubluit". Issue an error message.
- Fix/add prototypes.
- Fix warnings.
- Use POSIX signal mask calls.
- RCSid police.
1996-06-08 19:48:09 +00:00
jtc
f2a05c8ae1 USE_OLD_TTY no longer needed 1996-02-20 00:14:43 +00:00
jtc
6f400e259c made cmdtab const 1996-02-19 21:54:32 +00:00
mycroft
66f0c16f14 Use POSIX tty semantics. 1995-05-02 01:40:14 +00:00
cgd
4a83a3c060 align allocations to pointer size. 1995-04-24 07:39:42 +00:00
jtc
a067af72d8 Implement the ~_ and ~< escapes from POSIX.2.
These are the easiest of the escapes to implement, as ~_ is the same as ~:,
and ~< is the same as ~r.
1995-02-08 16:15:52 +00:00
mycroft
b5c23110da undelete -> undeletecmd, to avoid conflict with syscall. 1994-12-28 13:16:12 +00:00
cgd
28c7946a29 kill -R in CFLAGS 1994-12-22 11:20:21 +00:00
glass
22db40e083 fix bug 644. report and fix from Jan Sparud <sparud@cs.chalmers.se>. both forwarded on. 1994-12-18 23:33:48 +00:00
jtc
b5508f3525 Use tempnam() to generate temporary file names instead of trying to
concatenate getenv("TMPDIR") and "RxXXXXXX" into fixed length arrays.
1994-11-28 20:03:30 +00:00
mycroft
f0aa35c3b6 Install doc files. 1994-08-13 09:55:52 +00:00
deraadt
2cb5542f38 4.4-lite, plus our mods 1994-06-29 05:09:04 +00:00
jtc
dc933f0a1c cfree() is obsolete, use free() 1994-05-22 02:57:35 +00:00
jtc
353b511d05 Fix bug #241 by adding off_t cast to macro that uses ftruncate(). 1994-05-07 01:09:56 +00:00
cgd
20d2c86dad lseek/long thing 1994-04-01 01:44:59 +00:00
cgd
a28a03c947 kill perverse syntax 1994-03-23 01:32:50 +00:00
cgd
ac105d61e4 fix for bin/155: Mail appended to mbox is preceded by NULs.
From: Arne H}strek Juul <arnej@dsl.unit.no>
1994-03-06 03:03:21 +00:00
deraadt
0479ea62bc use the value of $MAIL (if set) as the default mailbox (like SunOS)
from christos@deshaw.com (Christos Zoulas)
1994-01-25 08:43:38 +00:00
deraadt
90880753b2 correct pathnames 1994-01-14 00:50:17 +00:00
jtc
10a20d067c Implement mailx's askbcc option. 1993-08-27 20:31:51 +00:00
jtc
aae6837578 Install mail as mailx too.
It's not quite POSIX compliant, but it only needs a few tweaks here and there.
1993-08-27 20:31:07 +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
jtc
1829761419 back out LOGNAME until I have the situation confirmed. 1993-07-28 20:36:17 +00:00
jtc
5b1c27146a When both LOGNAME and USER environment variables are set, favour LOGNAME. 1993-07-28 17:49:22 +00:00
deraadt
1047beea02 enter the modern age with a mail system that out of the
box will ask you for mail subjects
1993-05-24 07:25:24 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00