1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00
freebsd-ports/mail/mailx/files/patch-names.c
John Marino 030a0aaf30 mail/mailx: set zero arg to sendmail, not send-mail
This was probably a decade old oversight, but mail has spawned as
"sendmail" but set with first argument as "send-mail", requiring mail
wrapper to know both sendmail and send-mail.  The path and zero argument
should match, so let's do that here.

Taken from:	DragonFly
2015-03-26 14:47:41 +00:00

12 lines
248 B
C

--- names.c.intermediate 2015-03-09 09:59:41 UTC
+++ names.c
@@ -502,7 +502,7 @@ unpack(np)
extra++;
top = (char **) salloc((t + extra) * sizeof *top);
ap = top;
- *ap++ = "send-mail";
+ *ap++ = "sendmail";
#if MAILX
*ap++ = "-t";
#else