diff options
| author | jbeck <none@none> | 2006-03-23 19:39:03 -0800 |
|---|---|---|
| committer | jbeck <none@none> | 2006-03-23 19:39:03 -0800 |
| commit | 4c0312813f96388b6ce9453c99f2db7d6a393bd4 (patch) | |
| tree | 6131803f9c4c80521b3547e826753b2e79400517 /usr/src/cmd/sendmail | |
| parent | e4f35dba28613b963f69a8b719e2d15040fa804d (diff) | |
| download | illumos-joyent-4c0312813f96388b6ce9453c99f2db7d6a393bd4.tar.gz | |
6403183 vacation's clogged drain makes sendmail think a pipe is broken
Diffstat (limited to 'usr/src/cmd/sendmail')
| -rw-r--r-- | usr/src/cmd/sendmail/aux/vacation.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/cmd/sendmail/aux/vacation.c b/usr/src/cmd/sendmail/aux/vacation.c index 42b6b8dde6..70fe57130c 100644 --- a/usr/src/cmd/sendmail/aux/vacation.c +++ b/usr/src/cmd/sendmail/aux/vacation.c @@ -1,5 +1,5 @@ /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. * * Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T @@ -257,6 +257,8 @@ main(argc, argv) /*NOTREACHED*/ } } + while (fgets(buf, MAXLINE, stdin) != NULL) + continue; /* drain input */ return (EX_OK); } |
