Commit Graph

72 Commits

Author SHA1 Message Date
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