| 1 |
--- man-1.6f/src/makewhatis.sh 2007-09-17 20:35:14.000000000 +0200
|
| 2 |
+++ man-1.6f/src/makewhatis.sh_pipe 2008-03-12 17:53:34.000000000 +0100
|
| 3 |
@@ -281,11 +281,11 @@
|
| 4 |
sub(/\..*/, "", progname);
|
| 5 |
if (use_zcat || use_bzcat || use_lzcat) {
|
| 6 |
if (use_zcat) {
|
| 7 |
- pipe_cmd = "zcat \"" filename "\"";
|
| 8 |
+ pipe_cmd = "zcat \"" filename "\" 2>/dev/null";
|
| 9 |
} else if (use_bzcat) {
|
| 10 |
- pipe_cmd = "bzcat \"" filename "\"";
|
| 11 |
+ pipe_cmd = "bzcat \"" filename "\" 2>/dev/null";
|
| 12 |
} else {
|
| 13 |
- pipe_cmd = "lzcat \"" filename "\"";
|
| 14 |
+ pipe_cmd = "lzcat \"" filename "\" 2>/dev/null";
|
| 15 |
}
|
| 16 |
# try to avoid suspicious stuff
|
| 17 |
if (filename ~ /[;&|`$(]/) {
|