Paul Richards
57b6c4a55a
You can't free a string and then use it as the error message to
...
errx. Instead use warn to print the string, then cleanup and exit
normally.
This fixes a core dump if the executable to be run doesn't exist.
2001-06-04 04:22:57 +00:00
Ruslan Ermilov
345e52e742
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
Ruslan Ermilov
c73e22c3d4
Set the default manual section for usr.sbin/ to 8.
2001-03-20 18:17:26 +00:00
Ben Smithurst
76a06f8483
remove trailing periods from SEE ALSO.
2000-11-15 17:27:54 +00:00
Tim Vanderhoek
0e61e4dd08
Install mailer.conf as ${BINOWN}, ${BINGRP}, rather than root:wheel. This
...
lets unprivileged installworld: almost work first try and always work second.
BINOWN isn't quite right for this, but it's not really worth creating
a MAILOWN for this.
2000-06-04 01:20:58 +00:00
Philippe Charnier
39e80db3db
Do not add progname in err() strings, it will be printed twice
2000-05-28 15:02:26 +00:00
Sheldon Hearn
fd4f9bafc3
Replace the inappropriate use of .Nx (netBSD) with a more generalized
...
.Ux (UNIX) as is appropriate in the context used.
PR: 17954
Submitted by: Brian Handy <handy@physics.montana.edu>
2000-04-14 09:57:56 +00:00
Sheldon Hearn
f2e366a105
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 14:09:25 +00:00
Warner Losh
ff4d7851f0
Merge from OpenBSD:
...
o Realloc memory leak fixed which won't matter but would trigger purify
o Default to sendmail when no mailer.conf exists.
Fixed bugs in OpenBSD version:
o Add NULL termination in the right place.
Also put back the err. free shouldn't touch errno.
Pointed out by: theo de raadt (except the NULL bug :-)
2000-01-10 03:20:13 +00:00
Warner Losh
59536d2892
Fix mysterious sendmail coredump on systems where malloc.conf pointed to
...
a string containign 'J'.
o Properly terminate argv list with a NULL entry.
o Use warn() to report the exec failure because free could change errno and
err would report the wrong reason.
o Don't terminate string to err with ':' since this results in two colons.
2000-01-10 01:25:53 +00:00
Andrey A. Chernov
3fe0477a83
/etc -> /etc/mail
1999-12-31 08:03:27 +00:00
Peter Wemm
1538c4ee35
Preempt one brucification - I was missing a ${DESTDIR}. I hate merging
...
two sets of changes from different trees.
1999-12-29 18:51:36 +00:00
Peter Wemm
44ba071e87
As a special case, deal with a missing mailer.conf at install time. I
...
don't particularly like doing this here, but the alternative (loosing mail)
is worse.
1999-12-29 18:27:35 +00:00
Peter Wemm
9a3e018557
Move mailer.conf to /etc/mail at obrien's request.
1999-12-29 18:25:55 +00:00
Peter Wemm
521cb9d2af
Make mailwrapper build
1999-12-29 17:51:22 +00:00
Peter Wemm
3ae9291301
Import NetBSD's mailwrapper to redirect /usr/sbin/sendmail to the user's
...
chosen mailer.
Obtained from: NetBSD
1999-12-19 13:50:37 +00:00