commit 0bd213d2322a943fa6e2430076570bfa0f5a6c7c
parent c039534abe8128e4b45a5c2b5cae5fef1d2f9c28
Author: ukai <ukai>
Date: Thu, 6 Dec 2001 22:25:30 +0000
[w3m-dev 02635]
Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat:
3 files changed, 8 insertions(+), 2 deletions(-)
diff --git 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
@@ -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
@@ -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$//;