about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--CHANGES17
-rw-r--r--WWW/Library/Implementation/HTString.c2
-rw-r--r--WWW/Library/Implementation/HTUtils.h6
-rw-r--r--src/LYMain.c1
-rw-r--r--userdefs.h4
5 files changed, 23 insertions, 7 deletions
diff --git a/CHANGES b/CHANGES
index 845d9e9f..c2feabce 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,11 +1,26 @@
 Changes since Lynx 2.8.1 release
 ================================================================================
 
+1998-11-21 (2.8.2dev.6)
++ add call on dbug_init to LYMain.c, allowing use of the debugging code built
+  into the WATTCP code which is included in the DJGPP port of lynx.  This is
+  activated by placing lines in the WATTCP.CFG file for:
+    DEBUG.MODE= (choices are HEADERS, DUMP, or ALL)
+    DEBUG.PROTO= (choices are TCP, UDP, or  ALL)
+    DEBUG.FILE= (name of log file. Defaults to WATTCP.DBG)
+  This adds about 2K to the size of the stripped, compressed executable.  You
+  get a log of the headers and/or a binary dump of the packets sent and
+  received.  Maybe this will help in determining where ftp is failing in this
+  port - DK
+* correct definitions for ANSI_VARARGS, HAVE_STDARG_H in HTUtils.h (reported
+  by LP, for djgpp) - TD
+* correct logic in StrAllocVsprintf(), remove spurious test on dst_len
+  (analysis by LV) - TD
 1998-11-21 (2.8.2dev.5)
 * modify HTLoadFile() to make compressed files work with OS/2 EMX and
   LYSystem() to convert forward slashes in pathnames to backslashes, also for
   EMX (patches by Ilya Zakharevich).
-* documentation nits (aprostrophes) in lynx.cfg and userdefs.h - LV
+* documentation nits (apostrophes) in lynx.cfg and userdefs.h - LV
 * fix inconsistent newlines in po/it.po (report by Irving_Wolfe@Wolfe.net) - TD
 * modify config.guess, added Intergraph 2430 CLIX machines (reported by Alex
   Matulich <matuli_a@marlin.navsea.navy.mil>) - TD
diff --git a/WWW/Library/Implementation/HTString.c b/WWW/Library/Implementation/HTString.c
index 00cefcd7..d8698633 100644
--- a/WWW/Library/Implementation/HTString.c
+++ b/WWW/Library/Implementation/HTString.c
@@ -412,7 +412,7 @@ PRIVATE char * StrAllocVsprintf ARGS4(
 	    size_t f     = 0;
 
 	    fmt_ptr[f++] = *fmt;
-	    while (*++fmt != '\0' && dst_len != 0 && !done) {
+	    while (*++fmt != '\0' && !done) {
 		fmt_ptr[f++] = *fmt;
 
 		if (isdigit(*fmt)) {
diff --git a/WWW/Library/Implementation/HTUtils.h b/WWW/Library/Implementation/HTUtils.h
index d72c48ae..0d2f1f6c 100644
--- a/WWW/Library/Implementation/HTUtils.h
+++ b/WWW/Library/Implementation/HTUtils.h
@@ -33,11 +33,11 @@
 #endif
 
 #if defined(__STDC__) || defined(VMS)
-#define ANSI_VARARGS
-#define HAVE_STDARGS_H
+#define ANSI_VARARGS 1
+#define HAVE_STDARG_H 1
 #endif
 
-/* FIXME: these will be removed after completing auto-configure script */
+/* FIXME: these should be removed after completing auto-configure script */
 
 /* Accommodate pre-autoconf Makefile */
 
diff --git a/src/LYMain.c b/src/LYMain.c
index ab2a13b2..7d8c8e75 100644
--- a/src/LYMain.c
+++ b/src/LYMain.c
@@ -627,6 +627,7 @@ PUBLIC int main ARGS2(
 	init_ctrl_break[0] = 1;
     }
     atexit(reset_break);
+    dbug_init();
     sock_init();
 #endif
 
diff --git a/userdefs.h b/userdefs.h
index 9e56bb5c..28dfafa8 100644
--- a/userdefs.h
+++ b/userdefs.h
@@ -1216,12 +1216,12 @@
  * the version definition with the Project Version on checkout. Just
  * ignore it. - kw */
 /* $Format: "#define LYNX_VERSION \"$ProjectVersion$\""$ */
-#define LYNX_VERSION "2.8.2dev.5"
+#define LYNX_VERSION "2.8.2dev.6"
 #define LYNX_WWW_HOME "http://lynx.browser.org/"
 #define LYNX_WWW_DIST "http://www.slcc.edu/lynx/current/"
 #define LYNX_RELEASE FALSE
 /* $Format: "#define LYNX_DATE \"$ProjectDate$\""$ */
-#define LYNX_DATE "Sat, 21 Nov 1998 09:32:10 -0700"
+#define LYNX_DATE "Sat, 21 Nov 1998 21:30:53 -0700"
 #define LYNX_DATE_OFF 5		/* truncate the automatically-generated date */
 #define LYNX_DATE_LEN 11	/* truncate the automatically-generated date */
 #define LYNX_RELEASE_DATE "1998"