aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-01-31 09:43:14 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-01-31 09:43:14 +0000
commit1b020138f9c6928c2d57b986715dbf759f65987d (patch)
tree97177d48a18332b766fb9891a994885f539e90ec /file.c
parent[w3m-dev 02949] fix for #undef USE_MIGEMO (diff)
downloadw3m-1b020138f9c6928c2d57b986715dbf759f65987d.tar.gz
w3m-1b020138f9c6928c2d57b986715dbf759f65987d.zip
[w3m-dev 02955] compression_decoders error message
* file.c (uncompress_stream): redirect stderr * inflate.c (main): print error message From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rw-r--r--file.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/file.c b/file.c
index 04f62f5..dfc67aa 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.53 2002/01/30 17:48:49 ukai Exp $ */
+/* $Id: file.c,v 1.54 2002/01/31 09:43:14 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -6618,6 +6618,7 @@ uncompress_stream(URLFile *uf)
dup2(fd2[0], 0);
}
dup2(fd1[1], 1);
+ dup2(fd1[1], 2);
execlp(expand_cmd, expand_name, NULL);
exit(0);
}