[w3m-dev 02635]

Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
This commit is contained in:
Fumitoshi UKAI
2001-12-06 22:25:30 +00:00
parent 114bf456ec
commit d7637adfc0
3 changed files with 9 additions and 3 deletions

View File

@@ -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

4
file.c
View File

@@ -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) {

View File

@@ -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$//;