Subject: bin/3201: Missing semicolon in usr.bin/gencat/gencat.c
To: None <gnats-bugs@gnats.netbsd.org>
From: Gary D. Duzan <gary@wheel.tiac.net>
List: netbsd-bugs
Date: 02/08/1997 15:24:36
>Number:         3201
>Category:       bin
>Synopsis:       Missing semicolon in usr.bin/gencat/gencat.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb  8 12:35:00 1997
>Last-Modified:
>Originator:     Gary D. Duzan
>Organization:
	Northeastern University, GTE Labs
>Release:        Feb 8, 1996
>Environment:
	
System: NetBSD wheel.tiac.net 1.2B NetBSD 1.2B (WHEEL) #0: Mon Jan 27 21:21:08 EST 1997 gary@wheel.tiac.net:/usr/local/build/NetBSD/sys/arch/i386/compile/WHEEL i386


>Description:
	wheel { ~/src/usr.bin/gencat } # make
	cc -O  -Werror  -c gencat.c
	gencat.c: In function `MCDelSet':
	gencat.c:752: syntax error before `}'
	*** Error code 1

	Stop.
	wheel { ~/src/usr.bin/gencat } # 

>How-To-Repeat:
	As above
>Fix:

*** /usr/src/usr.bin/gencat/gencat.c	Tue May 14 07:58:56 1996
--- ./gencat.c	Sat Feb  8 15:23:17 1997
***************
*** 748,754 ****
  		msg = set->msghead.lh_first;
  		while (msg) {
  			free(msg->str);
! 			LIST_REMOVE(msg, entries)
  		}
  
  		LIST_REMOVE(set, entries);
--- 748,754 ----
  		msg = set->msghead.lh_first;
  		while (msg) {
  			free(msg->str);
! 			LIST_REMOVE(msg, entries);
  		}
  
  		LIST_REMOVE(set, entries);
>Audit-Trail:
>Unformatted: