aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-12-06 22:25:30 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-12-06 22:25:30 +0000
commitd7637adfc062d1a1f2fe7c6145bfe1b2c5ba332c (patch)
tree249c65b701138c0e2a75b79ad08c1cb925d39743
parentrun make indent (diff)
downloadw3m-d7637adfc062d1a1f2fe7c6145bfe1b2c5ba332c.tar.gz
w3m-d7637adfc062d1a1f2fe7c6145bfe1b2c5ba332c.zip
[w3m-dev 02635]
Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to '')
-rw-r--r--ChangeLog6
-rw-r--r--file.c4
-rwxr-xr-xscripts/dirlist.cgi.in2
3 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index c3c9122..e2f9b2f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-12-07 Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
+
+ * [w3m-dev 02635] dirlist
+ * file.c (loadGeneralFile): use pu.file instead of pu.real_file
+ * scripts/dirlist.cgi.in: modified for perl4
+
2001-12-07 Fumitoshi UKAI <ukai@debian.or.jp>
* [#489463] Host: header is wrong IPv6 literal addr
diff --git a/file.c b/file.c
index 88bffa3..ce87aa3 100644
--- a/file.c
+++ b/file.c
@@ -1,4 +1,4 @@
-/* $Id: file.c,v 1.28 2001/12/06 16:36:54 ukai Exp $ */
+/* $Id: file.c,v 1.29 2001/12/06 22:25:30 ukai Exp $ */
#include "fm.h"
#include <sys/types.h>
#include "myctype.h"
@@ -1043,7 +1043,7 @@ loadGeneralFile(char *path, ParsedURL *volatile current, char *referer,
if (UseExternalDirBuffer) {
Str cmd = Strnew_charp(DirBufferCommand);
Strcat_m_charp(cmd, "?dir=",
- pu.real_file, "#current", NULL);
+ pu.file, "#current", NULL);
b = loadGeneralFile(cmd->ptr, NULL, NO_REFERER, 0,
NULL);
if (b != NULL && b != NO_BUFFER) {
diff --git a/scripts/dirlist.cgi.in b/scripts/dirlist.cgi.in
index c756273..796bbc4 100755
--- a/scripts/dirlist.cgi.in
+++ b/scripts/dirlist.cgi.in
@@ -522,7 +522,7 @@ sub cygwin_pathconv {
local($_) = @_;
local(*CYGPATH);
- open(CYGPATH, '-|') or exec('cygpath', '-w', $_);
+ open(CYGPATH, '-|') || exec('cygpath', '-w', $_);
$_ = <CYGPATH>;
close(CYGPATH);
s/\r?\n$//;