pkgsrc/devel/bcc/patches/patch-ae

20 lines
526 B
Text

$NetBSD: patch-ae,v 1.3 2004/01/02 15:30:04 cjep Exp $
--- ld/table.c.orig 1994-02-19 22:36:05.000000000 +0000
+++ ld/table.c 2004-01-02 15:25:50.000000000 +0000
@@ -13,6 +13,7 @@
#else
#undef NULL
#include <stdlib.h>
+#include <string.h>
#endif
#define GOLDEN 157 /* GOLDEN/HASHTABSIZE approx golden ratio */
@@ -48,7 +49,7 @@
char *name;
{
struct symstruct **hashptr;
- struct symstruct *oldsymptr;
+ struct symstruct *oldsymptr = NULL;
struct symstruct *symptr;
hashptr = gethashptr(name);