lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LYNX-DEV Patch for DOS


From: Doug Kaufman
Subject: Re: LYNX-DEV Patch for DOS
Date: Sat, 4 Oct 1997 14:37:44 -0700 (PDT)

On Sat, 4 Oct 1997, I wrote:

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

The patch that I sent worked, but probably wasn't optimal.  The
following patch seem more appropriate.

*** lynx2-7-1/src/LYGetFile.c   Wed Sep 24 01:43:10 1997
--- lynx2-7-1/src/LYGetFile.c.new       Sat Oct  4 14:25:24 1997
***************
*** 654,659 ****
--- 654,660 ----
                            cp1 += 2;
                            StrAllocCopy(temp, doc->address);
  #ifdef DOSPATH
+                       StrAllocCat(temp, "/");
                        StrAllocCat(temp, HTDOS_wwwName((char *)Home_Dir()));
  #else
  #ifdef VMS

__
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.
;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]