lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev dev24-dev28 and DOSPATH


From: Leonid Pauzner
Subject: Re: lynx-dev dev24-dev28 and DOSPATH
Date: Fri, 18 Sep 1998 14:21:32 +0400 (MSD)

>> Hope the problem come from wrong using LYAddPathSep instead of LYAddHtmlSep
>> somethere in startfile's code. (DJGPP port allow unix-style slash
>> for local files).
> that's probably the case - I tested as well as I could on Linux and OS/2,
> but assumed I would miss something on the DOS side.
> --
> Thomas E. Dickey

Here the fix for dev28:


diff -u old/lymain.c ./lymain.c
--- old/lymain.c        Thu Sep 17 22:55:46 1998
+++ ./lymain.c  Fri Sep 18 14:15:08 1998
@@ -1660,7 +1660,7 @@
     StrAllocCopy(helpfilepath, helpfile);
     if ((cp = LYPathLeaf(helpfilepath)) != helpfilepath)
         *cp = '\0';
-    LYAddPathSep(&helpfilepath);
+    LYAddHtmlSep(&helpfilepath);

     /*
      * Make sure our bookmark default strings
diff -u old/lyutils.c ./lyutils.c
--- old/lyutils.c       Thu Sep 17 22:52:50 1998
+++ ./lyutils.c Fri Sep 18 14:15:10 1998
@@ -3907,7 +3907,7 @@
 #else
                StrAllocCopy(temp, curdir);
 #endif
-               LYAddPathSep(&temp);
+               LYAddHtmlSep(&temp);
                LYstrncpy(curdir, temp, (DIRNAMESIZE - 1));
                StrAllocCat(temp, old_string);
            } else {
@@ -5825,10 +5825,10 @@
     StrAllocCopy(*target, "file://localhost");

 #if defined(DOSPATH) || defined(__EMX__)
-    leaf = HTDOS_wwwName(source);
+    leaf = HTDOS_wwwName((char *)source);
 #else
 #ifdef VMS
-    leaf = HTVMS_wwwName(source);
+    leaf = HTVMS_wwwName((char *)source);
 #else
     leaf = (char *)source;
 #endif /* VMS */
Only in .: old



reply via email to

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