Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2002 14:29:01 +0000
From:      Tony Finch <dot@dotat.at>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/37454: [PATCH] increase unifdef table size
Message-ID:  <E170kF3-000FKj-00@hand.dotat.at>

next in thread | raw e-mail | index | archive | help

>Number:         37454
>Category:       bin
>Synopsis:       [PATCH] increase unifdef table size
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 25 07:30:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Tony Finch
>Release:        FreeBSD 4.5-STABLE-20020312 i386
>Organization:
dotat labs
>Environment:
System: FreeBSD hand.dotat.at 4.5-STABLE-20020312 FreeBSD 4.5-STABLE-20020312 #19: Tue Mar 12 13:45:49 GMT 2002 fanf@hand.dotat.at:/FreeBSD/obj/FreeBSD/releng4/sys/SHARP i386
>Description:

unifdef's limit of 100 symbols is far too small.

>How-To-Repeat:
>Fix:

--- unifdef.c	30 Jul 2001 10:16:48 -0000	1.4.2.1
+++ unifdef.c	25 Apr 2002 14:25:48 -0000
@@ -82,7 +82,7 @@
 char lnblank BSS;       /* -l option in effect: blank deleted lines */
 char complement BSS;    /* -c option in effect: complement the operation */
 
-#define MAXSYMS 100
+#define MAXSYMS 1000
 char *symname[MAXSYMS] BSS; /* symbol name */
 char true[MAXSYMS] BSS;     /* -Dsym */
 char ignore[MAXSYMS] BSS;   /* -iDsym or -iUsym */

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E170kF3-000FKj-00>