aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2002-01-16 19:18:21 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2002-01-16 19:18:21 +0000
commit85d6c7a426d1a18e9898065bd511873cc7125bfa (patch)
tree43cae67a1c8d66096506f79988156054ff6c74b9
parentrun make indent (diff)
downloadw3m-85d6c7a426d1a18e9898065bd511873cc7125bfa.tar.gz
w3m-85d6c7a426d1a18e9898065bd511873cc7125bfa.zip
[w3m-dev 02863] discard migemo error message
* search.c (open_migemo): close stderr From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to '')
-rw-r--r--ChangeLog7
-rw-r--r--search.c3
2 files changed, 8 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b96ebe..b3fcf2a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2002-01-17 Fumitoshi UKAI <ukai@debian.or.jp>
+ * [w3m-dev 02863] discard migemo error message
+ * search.c (open_migemo): close stderr
+
+2002-01-17 Fumitoshi UKAI <ukai@debian.or.jp>
+
* [w3m-dev 02862] SIGPIPE for migemo support
* main.c (SigPipe): added
* main.c (MAIN): signal(SIGPIPE, )
@@ -2074,4 +2079,4 @@
* release-0-2-1
* import w3m-0.2.1
-$Id: ChangeLog,v 1.234 2002/01/16 19:02:12 ukai Exp $
+$Id: ChangeLog,v 1.235 2002/01/16 19:18:21 ukai Exp $
diff --git a/search.c b/search.c
index f4a6004..7ac315d 100644
--- a/search.c
+++ b/search.c
@@ -1,4 +1,4 @@
-/* $Id: search.c,v 1.11 2002/01/16 19:05:37 ukai Exp $ */
+/* $Id: search.c,v 1.12 2002/01/16 19:18:21 ukai Exp $ */
#include "fm.h"
#include "regex.h"
#include <errno.h>
@@ -45,6 +45,7 @@ open_migemo(char *migemo_command)
close(fdw[1]);
dup2(fdw[0], 0);
dup2(fdr[1], 1);
+ close(2);
system(migemo_command);
exit(1);
}