diff options
| author | svn2git <svn2git@FreeBSD.org> | 1994-05-01 08:00:00 +0000 |
|---|---|---|
| committer | svn2git <svn2git@FreeBSD.org> | 1994-05-01 08:00:00 +0000 |
| commit | a16f65c7d117419bd266c28a1901ef129a337569 (patch) | |
| tree | 2626602f66dc3551e7a7c7bc9ad763c3bc7ab40a /usr.bin/rdist/docmd.c | |
| parent | 8503f4f13f77abf7adc8f7e329c6f9c1d52b6a20 (diff) | |
Diffstat (limited to 'usr.bin/rdist/docmd.c')
| -rw-r--r-- | usr.bin/rdist/docmd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/rdist/docmd.c b/usr.bin/rdist/docmd.c index b99d12609f83..e73c1b7afc17 100644 --- a/usr.bin/rdist/docmd.c +++ b/usr.bin/rdist/docmd.c @@ -36,6 +36,7 @@ static char sccsid[] = "@(#)docmd.c 5.8 (Berkeley) 3/1/91"; #endif /* not lint */ #include "defs.h" +#include <stdlib.h> #include <setjmp.h> #include <netdb.h> @@ -506,6 +507,7 @@ notify(file, rhost, to, lmod) * Create a pipe to mailling program. */ (void)sprintf(buf, "%s -oi -t", _PATH_SENDMAIL); + unsetenv("IFS"); pf = popen(buf, "w"); if (pf == NULL) { error("notify: \"%s\" failed\n", _PATH_SENDMAIL); |
