summaryrefslogtreecommitdiff
path: root/textproc/biblook/patches/patch-ab
blob: ea994ab4094da92047231c923ad51c53b36876ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ab,v 1.2 2004/05/23 23:28:29 danw Exp $

--- biblook.h.orig	Mon Mar 30 18:31:04 1998
+++ biblook.h
@@ -73,9 +73,6 @@ extern uint16 ntohs (uint16 netshort);
 					/* around broken g++ libc.h */
 #else
 #include <unistd.h>
-#if HAVE_MALLOC_H
-#include <malloc.h>
-#endif /* HAVE_MALLOC_H */
 #endif /* __NeXT__ */
 
 #if (__STDC__ || __cplusplus || c_plusplus)
@@ -206,7 +203,7 @@ u_short	ntohs(u_short netshort);
 #define MAJOR_VERSION 	2	/* program version     */
 #define MINOR_VERSION 	9
 
-#define MAXWORD	  	31	/* maximum length of word indexed */
+#define MAXWORD	  	255	/* maximum length of word indexed */
 #define MAXSTRING  	4095	/* maximum length of line handled */
 typedef char Word[MAXWORD+1];
 typedef char String[MAXSTRING+1];