From c492b31f9777357af14c2717c69180656811f8fb Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Thu, 27 Dec 2001 17:45:25 +0000 Subject: [w3m-dev 02761] From: Kiyokazu SUTO --- ChangeLog | 7 ++++++- file.c | 4 +--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 272bd15..6105483 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-12-28 Kiyokazu SUTO + + * [w3m-dev 02761] + * file.c (loadcmdout): remove unnecessary buf check + 2001-12-28 Hironori Sakamoto * [w3m-dev 02760] @@ -1718,4 +1723,4 @@ * release-0-2-1 * import w3m-0.2.1 -$Id: ChangeLog,v 1.190 2001/12/27 17:43:22 ukai Exp $ +$Id: ChangeLog,v 1.191 2001/12/27 17:45:25 ukai Exp $ diff --git a/file.c b/file.c index 6e87e6b..5b28ebb 100644 --- a/file.c +++ b/file.c @@ -1,4 +1,4 @@ -/* $Id: file.c,v 1.35 2001/12/27 17:43:23 ukai Exp $ */ +/* $Id: file.c,v 1.36 2001/12/27 17:45:26 ukai Exp $ */ #include "fm.h" #include #include "myctype.h" @@ -5423,8 +5423,6 @@ loadcmdout(char *cmd, init_stream(&uf, SCM_UNKNOWN, newFileStream(f, (void (*)())pclose)); buf = loadproc(&uf, defaultbuf); UFclose(&uf); - if (buf == NULL) - return NULL; return buf; } -- cgit v1.2.3