lynx-dev
[Top][All Lists]
Advanced

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

lynx-dev SH_EX fixes


From: Leonid Pauzner
Subject: lynx-dev SH_EX fixes
Date: Fri, 30 Jul 1999 02:57:45 +0400 (MSD)

I've build DJGPP lynx with SH_EX
but without CJK_EX (and without WIN_EX).

In order to build the following fixes required:


diff -u old/lymainlo.c ./lymainlo.c
--- old/lymainlo.c      Wed Jul 14 09:25:26 1999
+++ ./lymainlo.c        Fri Jul 30 02:39:28 1999
@@ -117,7 +117,10 @@
 #endif
 }

-/* 1998/10/30 (Fri) 10:06:47 */
+#endif /* CJK_EX */
+
+
+#ifdef SH_EX  /* 1998/10/30 (Fri) 10:06:47 */

 #define NOT_EQU        1

@@ -1556,7 +1559,7 @@

        }

-#if defined(SH_EX)     /* 1997/10/08 (Wed) 14:52:06 */
+#if defined(CJK_EX)    /* 1997/10/08 (Wed) 14:52:06 */
        if (nlinks > 0) {
            char *p = "LYNX (unknown link type)";

@@ -1622,7 +1625,7 @@
                set_ws_title(HTUnEscape(temp_buff));
            }
        }
-#endif /* SH_EX */
+#endif /* CJK_EX */

        /*
         *  Report unread or new mail, if appropriate.
@@ -2643,7 +2646,7 @@
            }
            break;

-#if defined(SH_EX) && defined(DOSPATH) /*1997/12/22 (Mon) 09:28:56 */
+#if defined(WIN_EX) && defined(SH_EX)  /*1997/12/22 (Mon) 09:28:56 */
        case LYK_TO_CLIPBOARD:  /* ^S */
            {
                if (put_clip(links[curdoc.link].lname) == 0) {
diff -u old/lyutils.c ./lyutils.c
--- old/lyutils.c       Fri Jul 16 20:55:38 1999
+++ ./lyutils.c Fri Jul 30 01:50:28 1999
@@ -7210,7 +7210,7 @@
 {
     char *shell = 0;
 #ifdef DOSPATH
-#ifdef SH_EX
+#ifdef WIN_EX
     shell = getenv("SHELL");
     if (shell) {
        if (access(shell, 0) != 0)
@@ -7230,7 +7230,7 @@
     if (shell == NULL) {
        shell = "command.com";
     }
-#endif /* SH_EX */
+#endif /* WIN_EX */
 #else
 #ifdef __EMX__
     if (getenv("SHELL") != NULL) {




reply via email to

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