diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | file.c | 4 | ||||
-rwxr-xr-x | scripts/dirlist.cgi.in | 2 |
3 files changed, 9 insertions, 3 deletions
@@ -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 @@ -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$//; |