aboutsummaryrefslogtreecommitdiffstats
path: root/image.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-02-13 12:54:36 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-02-13 12:54:36 +0000
commit300184d5a940d75bde0f67e91eb854c40a790001 (patch)
tree88ef4cede1266c403bceba9bde1f15ffef468fc7 /image.c
parentXMakefile (install-core): fix for broken non-POSIX /bin/sh (diff)
downloadw3m-300184d5a940d75bde0f67e91eb854c40a790001.tar.gz
w3m-300184d5a940d75bde0f67e91eb854c40a790001.zip
[w3m-dev 03742] Re: Bug##180814: w3m: Missing w3mimgdisplay message at startup
* image.c (getCharSize): stderr redirect to omit /bin/sh error message From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'image.c')
-rw-r--r--image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/image.c b/image.c
index 1511d3e..53c3f00 100644
--- a/image.c
+++ b/image.c
@@ -1,4 +1,4 @@
-/* $Id: image.c,v 1.32 2003/01/29 17:31:22 ukai Exp $ */
+/* $Id: image.c,v 1.33 2003/02/13 12:54:37 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
@@ -54,7 +54,7 @@ getCharSize()
tmp = Strnew();
if (!strchr(Imgdisplay, '/'))
Strcat_m_charp(tmp, w3m_auxbin_dir(), "/", NULL);
- Strcat_m_charp(tmp, Imgdisplay, " -test", NULL);
+ Strcat_m_charp(tmp, Imgdisplay, " -test 2>/dev/null", NULL);
f = popen(tmp->ptr, "r");
if (!f)
return FALSE;