Changeset View
Changeset View
Standalone View
Standalone View
security/clamav/files/extra-patch-common_output.c
- This file was moved from security/clamav/files/extra-patch-shared_output.c.
--- shared/output.c.orig Thu May 18 22:10:40 2006 | --- common/output.c.orig Thu May 18 22:10:40 2006 | ||||
+++ shared/output.c Thu May 18 22:12:43 2006 | +++ common/output.c Thu May 18 22:12:43 2006 | ||||
@@ -236,7 +236,13 @@ | @@ -236,7 +236,13 @@ | ||||
return; | return; | ||||
} | } | ||||
- fd = stdout; | - fd = stdout; | ||||
+/* fd = stdout; (missing flag 'mprintf_stdout') --eh. */ | +/* fd = stdout; (missing flag 'mprintf_stdout') --eh. */ | ||||
+ | + | ||||
+ if(mprintf_stdout) | + if(mprintf_stdout) | ||||
+ fd = stdout; | + fd = stdout; | ||||
+ else | + else | ||||
+ fd = stderr; | + fd = stderr; | ||||
+ | + | ||||
/* legend: | /* legend: | ||||
* ! - error | * ! - error |