Up to [local] / src / usr.sbin / mailwrapper
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_3_5
Revision 1.15 / (download) - annotate - [select for diffs], Sun Mar 9 01:24:26 2003 UTC (21 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE,
OPENBSD_3_5,
OPENBSD_3_4_BASE,
OPENBSD_3_4,
OPENBSD_3_3_BASE,
OPENBSD_3_3
Changes since 1.14: +8 -3 lines
Diff to previous 1.14 (colored)
As pointed out by Perry, mailwrapper is never invoked directly, err/warn will show names like sendmail, mailq, etc which is confusing. However, prefixing "mailwrapper" to the string passed to err/warn is ugly too. The least evil alternative seems to be to stash the value of __progname for checking and assign "mailwrapper" to __progname.