Commit Graph

5 Commits

Author SHA1 Message Date
Philippe Charnier
39e80db3db Do not add progname in err() strings, it will be printed twice 2000-05-28 15:02:26 +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
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