commit 5fbafac9f6d901b638a1b586934d14664cdec855
parent 399c0b5ca8dec9f6c19a11fe8c217b0606ddc674
Author: ukai <ukai>
Date: Thu, 13 Feb 2003 12:54:36 +0000
[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:
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,5 +1,10 @@
2003-02-13 Fumitoshi UKAI <ukai@debian.or.jp>
+ * [w3m-dev 03742] Re: Bug##180814: w3m: Missing w3mimgdisplay message at startup
+ * image.c (getCharSize): stderr redirect to omit /bin/sh error message
+
+2003-02-13 Fumitoshi UKAI <ukai@debian.or.jp>
+
* XMakefile (install-core): fix for broken non-POSIX /bin/sh
2003-02-11 Hironori SAKAMOTO <hsaka@mth.biglobe.ne.jp>
diff --git a/image.c b/image.c
@@ -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;