From d7637adfc062d1a1f2fe7c6145bfe1b2c5ba332c Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Thu, 6 Dec 2001 22:25:30 +0000 Subject: [w3m-dev 02635] Hironori Sakamoto --- ChangeLog | 6 ++++++ file.c | 4 ++-- scripts/dirlist.cgi.in | 2 +- 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 + + * [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 * [#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 #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', $_); $_ = ; close(CYGPATH); s/\r?\n$//; -- cgit v1.2.3