lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev lynx for Win32 (from Japan)


From: Hiroyuki Senshu
Subject: lynx-dev lynx for Win32 (from Japan)
Date: Mon, 23 Aug 1999 14:49:26 +0900

Hello lynx-dev.

I added some changes to dev.6.

It confirmed that it could be used without problem
with Windows 9x/NT/2000 by this change.

----
It answers some doubts in the following.

Q1.
As for not using sendmail.exe, why.

A1.

Because it isn't made, MIME treatment can't be virtually
used with Japanese environment the "Mail header".

It can't be modified because a sauce code is non-opening
to the public.
These faults are not in Blat.

Q2.
As for using sprintf, why.

A2.
It is being used when it can be judged that
buffer over-fllow doesn't happen.

There is a problem in using snprintf without
a condition in the efficiency side.


Q3.
Binary of dev.6 is unstable.

A3.
You must be careful with the option of bcc32.
There is a difference in option of Borland C++ 5.0x
and C++ Builder.
Add an option such as -tWM and -a4 to zlib, pdcurses
as well, and compose libraries.

lynx.exe which did this consideration and which was made
doesn't happen at me problems.

If you are willing to try, get it at:
"http://www.shonai-cit.ac.jp/eci/senshu/lynx283j19990823.zip";

dev.6 Patch ....

----
diff -uNr lynx283.d06/src/HTFWriter.c lynx283.w32/src/HTFWriter.c
--- lynx283.d06/src/HTFWriter.c Tue Aug 17 13:50:18 1999
+++ lynx283.w32/src/HTFWriter.c Tue Aug 17 13:54:02 1999
@@ -13,7 +13,7 @@
 #include <HTFWriter.h>
 #include <HTSaveToFile.h>
 
-#if WIN_EX
+#ifdef WIN_EX
 #include <HTParse.h>
 #endif
 
diff -uNr lynx283.d06/src/LYMain.c lynx283.w32/src/LYMain.c
--- lynx283.d06/src/LYMain.c    Tue Aug 17 13:50:18 1999
+++ lynx283.w32/src/LYMain.c    Mon Aug 23 08:28:22 1999
@@ -985,6 +985,17 @@
 #endif
 
     if ((cp = strchr(lynx_temp_space, '~'))) {
+#ifdef WIN_EX  /* for Windows 2000 ... 1999/08/23 (Mon) 08:24:35 */
+       if (access(lynx_temp_space, 0) != 0) {
+           *(cp++) = '\0';
+           StrAllocCopy(temp, lynx_temp_space);
+           LYTrimPathSep(temp);
+           StrAllocCat(temp, wwwName(Home_Dir()));
+           StrAllocCat(temp, cp);
+           StrAllocCopy(lynx_temp_space, temp);
+           FREE(temp);
+       }
+#else
        *(cp++) = '\0';
        StrAllocCopy(temp, lynx_temp_space);
        LYTrimPathSep(temp);
@@ -992,6 +1003,7 @@
        StrAllocCat(temp, cp);
        StrAllocCopy(lynx_temp_space, temp);
        FREE(temp);
+#endif
     }
     if ((cp = strstr(lynx_temp_space, "$USER")) != NULL) {
        char *cp1;
---- 

--
Shonai College of Industry and Technology.
Electronics and Computer Information Course.
E-mail: address@hidden


reply via email to

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