Subject: lib/4643: lib/libc/compat-43/setrgid.c doesn't compile
To: None <gnats-bugs@gnats.netbsd.org>
From: Manuel Bouyer <bouyer@chassiron.ensta.fr>
List: netbsd-bugs
Date: 12/05/1997 12:01:19
>Number: 4643
>Category: lib
>Synopsis: lib/libc/compat-43/setrgid.c doesn't compile
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: lib-bug-people (Library Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 5 03:05:02 1997
>Last-Modified:
>Originator: Manuel Bouyer
>Organization:
LIP6, Universite Paris VI.
>Release: NetBSD 1.3_BETA supped yesterday
>Environment:
System: NetBSD chassiron.ensta.fr 1.3_BETA NetBSD 1.3_BETA (CHASSIRON) #0: Fri Dec 5 11:14:17 MET 1997 bouyer@chassiron.ensta.fr:/usr/src/sources/src_current/sys/arch/i386/compile/CHASSIRON i386
>Description:
while compiling libc:
chassiron:/usr/src/sources/src_current/lib/libc>make
cc -O -pipe -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -DNLS -DYP -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -I/usr/src/sources/src_current/lib/libc/include -D__DBINTERFACE_PRIVATE -DPOSIX_MISTAKE -DFLOATING_POINT -c /usr/src/sources/src_current/lib/libc/compat-43/setrgid.c
/usr/src/sources/src_current/lib/libc/compat-43/setrgid.c:50: syntax error before `int'
*** Error code 1
Stop.
>How-To-Repeat:
cd lib/libc; make cleandir all
>Fix:
Index: setrgid.c
===================================================================
RCS file: /usr/cvs/cvsroot/sources/src_current/lib/libc/compat-43/setrgid.c,v
retrieving revision 1.5
diff -u -r1.5 setrgid.c
--- setrgid.c 1997/12/05 09:24:24 1.5
+++ setrgid.c 1997/12/05 10:59:50
@@ -45,7 +45,7 @@
#include <sys/types.h>
#include <unistd.h>
-__warn_references(setrgid, "warning: this program uses setrgid(), which is deprecated.")
+__warn_references(setrgid, "warning: this program uses setrgid(), which is deprecated.");
int
#ifdef __STDC__
>Audit-Trail:
>Unformatted: