Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > fc0847760a99cc38b60a2ae56f03bf53 > files > 7

man-1.6d-2.el5.src.rpm

--- man-1.6d/src/makewhatis.sh.pom	2006-06-22 14:07:20.000000000 +0200
+++ man-1.6d/src/makewhatis.sh	2006-06-22 14:08:40.000000000 +0200
@@ -211,9 +211,9 @@
       sub(/\..*/, "", progname);
       if (use_zcat || use_bzcat) {
         if (use_zcat) {
-          pipe_cmd = "zcat \"" filename "\"";
+          pipe_cmd = "zcat \"" filename "\" 2>/dev/null";
         } else {
-          pipe_cmd = "bzcat \"" filename "\"";
+          pipe_cmd = "bzcat \"" filename "\" 2>/dev/null";
         }
         # try to avoid suspicious stuff
         if (filename ~ /[;&|`$(]/) {