about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTUtils.h
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1997-01-29 21:25:58 -0500
committerThomas E. Dickey <dickey@invisible-island.net>1997-01-29 21:25:58 -0500
commitc3ec4181d988501e4d7116f32c669d5ca69e7060 (patch)
tree3a19fc17f13ca34edf02b209e19464f8041984cd /WWW/Library/Implementation/HTUtils.h
parent6bd78b38830217fa268e678d9637116ec516bf0e (diff)
downloadlynx-snapshots-c3ec4181d988501e4d7116f32c669d5ca69e7060.tar.gz
snapshot of project "lynx", label v2_6fm_970129
Diffstat (limited to 'WWW/Library/Implementation/HTUtils.h')
-rw-r--r--WWW/Library/Implementation/HTUtils.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/WWW/Library/Implementation/HTUtils.h b/WWW/Library/Implementation/HTUtils.h
index 3eb54ea0..5267a7c2 100644
--- a/WWW/Library/Implementation/HTUtils.h
+++ b/WWW/Library/Implementation/HTUtils.h
@@ -206,6 +206,8 @@ Booleans
 #define NO (BOOLEAN)0
 #endif
 
+extern BOOL LYOutOfMemory;	/* Declared in LYexit.c - FM */
+
 #define TCP_PORT 80     /* Allocated to http by Jon Postel/ISI 24-Jan-92 */
 #define OLD_TCP_PORT 2784       /* Try the old one if no answer on 80 */
 #define DNP_OBJ 80      /* This one doesn't look busy, but we must check */
@@ -257,9 +259,10 @@ Out Of Memory checking for malloc() return:
 
 #include "LYexit.h"
 
-#define outofmem(file, func) \
- { fprintf(stderr, "%s %s: out of memory.\nProgram aborted.\n", file, func); \
-  exit(-1);}
+#define outofmem(file, func)\
+ { fprintf(stderr,\
+  "\r\n\r\n\r\n%s %s: out of memory.  Aborting...\r\n", file, func);\
+  LYOutOfMemory = TRUE; exit(-1);}
 /* extern void outofmem PARAMS((const char *fname, const char *func)); */