lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev dev28 fails on DJGPP


From: Leonid Pauzner
Subject: lynx-dev dev28 fails on DJGPP
Date: Thu, 17 Sep 1998 23:47:31 +0400 (MSD)

Hi, I found out that dev28 will not build on DJGPP
because of typo in LYShowInfo.c (a command happens out of #ifdef'ing),
also I got a warning from LYUtils.c near the line 5828
which was solved with casting (char *) -
probably the same casting should be two lines below for VMS.

Leonid.



Only in .: dif
diff -u old/lyshowin.c ./lyshowin.c
--- old/lyshowin.c      Thu Sep 17 22:55:46 1998
+++ ./lyshowin.c        Thu Sep 17 23:25:34 1998
@@ -116,7 +116,6 @@
     fprintf(fp0, "<title>%s</title>\n</head>\n<body>\n",
                 SHOWINFO_TITLE);

-    LYLocalFileToURL(&info_url, lynx_compile_opts());
     fprintf(fp0, "<h1>%s %s (%.*s) (<a href=\"%s\">%s</a>)",
                 LYNX_NAME, LYNX_VERSION,
                 LYNX_DATE_LEN,
@@ -124,6 +123,7 @@
                 (LYNX_RELEASE ? LYNX_WWW_HOME   : LYNX_WWW_DIST),
                 (LYNX_RELEASE ? "latest release" : "development version") );
 #ifdef HAVE_CFG_DEFS_H
+    LYLocalFileToURL(&info_url, lynx_compile_opts());
     fprintf(fp0, " - <a href=\"%s\">compile time settings</a></h1>\n",
                 info_url);
 #else
diff -u old/lyutils.c ./lyutils.c
--- old/lyutils.c       Thu Sep 17 22:52:50 1998
+++ ./lyutils.c Thu Sep 17 23:36:20 1998
@@ -5825,7 +5825,7 @@
     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);
Only in .: old


reply via email to

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