aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-27 17:45:25 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-27 17:45:25 +0000
commitc492b31f9777357af14c2717c69180656811f8fb (patch)
treea9b53965d359d5102432ffcd7162ee6a8873b2ba
parent[w3m-dev 02760] (diff)
downloadw3m-c492b31f9777357af14c2717c69180656811f8fb.tar.gz
w3m-c492b31f9777357af14c2717c69180656811f8fb.zip
[w3m-dev 02761]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>
Diffstat (limited to '')
-rw-r--r--ChangeLog7
-rw-r--r--file.c4
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 <suto@ks-and-ks.ne.jp>
+
+ * [w3m-dev 02761]
+ * file.c (loadcmdout): remove unnecessary buf check
+
2001-12-28 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
* [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 <sys/types.h>
#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;
}