[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LYNX-DEV Patch for DOS
From: |
Doug Kaufman |
Subject: |
LYNX-DEV Patch for DOS |
Date: |
Sat, 4 Oct 1997 00:28:42 -0700 (PDT) |
The substitution of $HOME for ~ in file URL's wasn't working in the DOS
port. The following patch (against ac-0.73) fixes the problem.
Doug
*** lynx2-7-1/src/LYGetFile.c Wed Sep 24 01:43:10 1997
--- lynx2-7-1/src/LYGetFile.c.new Sat Oct 4 00:11:54 1997
***************
*** 654,660 ****
cp1 += 2;
StrAllocCopy(temp, doc->address);
#ifdef DOSPATH
! StrAllocCat(temp, HTDOS_wwwName((char *)Home_Dir()));
#else
#ifdef VMS
StrAllocCat(temp,
--- 654,661 ----
cp1 += 2;
StrAllocCopy(temp, doc->address);
#ifdef DOSPATH
! StrAllocCat(temp, "/");
! StrAllocCat(temp, Home_Dir());
#else
#ifdef VMS
StrAllocCat(temp,
__
Doug Kaufman
Internet: address@hidden (preferred)
address@hidden
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;
- LYNX-DEV Patch for DOS,
Doug Kaufman <=