SOURCES: metamail-procmail_warning.patch (NEW) - new from http://w...

dzeus dzeus at pld-linux.org
Tue Oct 3 11:21:58 CEST 2006


Author: dzeus                        Date: Tue Oct  3 09:21:58 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new from http://www.mhonarc.org/archive/html/procmail/2002-11/msg00257.html

---- Files affected:
SOURCES:
   metamail-procmail_warning.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/metamail-procmail_warning.patch
diff -u /dev/null SOURCES/metamail-procmail_warning.patch:1.1
--- /dev/null	Tue Oct  3 11:21:58 2006
+++ SOURCES/metamail-procmail_warning.patch	Tue Oct  3 11:21:53 2006
@@ -0,0 +1,11 @@
+--- mm2.7/src/src/metamail/metamail.c.orig	2006-10-03 10:52:31.058827750 +0200
++++ mm2.7/src/src/metamail/metamail.c	2006-10-03 10:51:49.000000000 +0200
+@@ -1955,7 +1955,7 @@
+         default:
+             ConsumeRestOfPart(OutputFP);
+     }
+-    if (UsingStandardInput && feof(InputFP) && !freopen("/dev/tty", "r", stdin)) {
++    if (!MustNotBeTty && UsingStandardInput && feof(InputFP) && !freopen("/dev/tty", "r", stdin)) {
+         fprintf(stderr, "Warning: Cannot freopen /dev/tty to stdin");
+     } else InputFP = stdin;
+ }
================================================================


More information about the pld-cvs-commit mailing list