[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>
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
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>
|
2003-02-13 Fumitoshi UKAI <ukai@debian.or.jp>
|
||||||
|
|
||||||
* XMakefile (install-core): fix for broken non-POSIX /bin/sh
|
* XMakefile (install-core): fix for broken non-POSIX /bin/sh
|
||||||
@@ -7151,4 +7156,4 @@ a * [w3m-dev 03276] compile error on EWS4800
|
|||||||
* release-0-2-1
|
* release-0-2-1
|
||||||
* import w3m-0.2.1
|
* import w3m-0.2.1
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.749 2003/02/12 17:22:33 ukai Exp $
|
$Id: ChangeLog,v 1.750 2003/02/13 12:54:36 ukai Exp $
|
||||||
|
|||||||
4
image.c
4
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 "fm.h"
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
@@ -54,7 +54,7 @@ getCharSize()
|
|||||||
tmp = Strnew();
|
tmp = Strnew();
|
||||||
if (!strchr(Imgdisplay, '/'))
|
if (!strchr(Imgdisplay, '/'))
|
||||||
Strcat_m_charp(tmp, w3m_auxbin_dir(), "/", NULL);
|
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");
|
f = popen(tmp->ptr, "r");
|
||||||
if (!f)
|
if (!f)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|||||||
Reference in New Issue
Block a user