commit 5a6502d1c961d4037cf9acd5679acb37c1deea41
parent 10576d834ef26324963eb4859d9acab9315374c0
Author: ukai <ukai>
Date: Wed, 16 Jan 2002 19:18:21 +0000
[w3m-dev 02863] discard migemo error message
* search.c (open_migemo): close stderr
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat:
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git 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, )
diff --git a/search.c b/search.c
@@ -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);
}