Subject: lib/4452: lib/libc/compat43/setr[gu]id.c have a problem.
To: None <gnats-bugs@gnats.netbsd.org>
From: SUNAGAWA Keiki <kei_sun@ba2.so-net.or.jp>
List: netbsd-bugs
Date: 11/09/1997 23:56:51
>Number: 4452
>Category: lib
>Synopsis: setrgid.c/setruid.c compiling failure
>Confidential: yes
>Severity: serious
>Priority: high
>Responsible: lib-bug-people (Library Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 9 07:20:00 1997
>Last-Modified:
>Originator: SUNAGAWA Keiki
>Organization:
>Release: NetBSD-1.3-ALPHA 1997-11-09 JST
>Environment:
System: NetBSD localhost 1.3_ALPHA NetBSD 1.3_ALPHA (GENERICSBC) #47: Sat Nov 1 13:11:41 PST 1997 allen@c610:/usr/src/sys/arch/mac68k/compile/GENERICSBC mac68k
>Description:
In lib/libc/compat43, setrgid.c and setruid.c have a line
contains macro __warn_references missing last semicolon.
>How-To-Repeat:
cd /usr/src/lib/libc
make
>Fix:
Here's a patch.
--- setrgid.c.orig Wed Nov 5 22:05:14 1997
+++ setrgid.c Sun Nov 9 23:08:55 1997
@@ -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__
--- setruid.c.orig Wed Nov 5 22:05:14 1997
+++ setruid.c Sun Nov 9 23:09:07 1997
@@ -45,7 +45,7 @@
#include <sys/types.h>
#include <unistd.h>
-__warn_references(setruid, "warning: this program uses setruid(), which is deprecated.")
+__warn_references(setruid, "warning: this program uses setruid(), which is deprecated.");
int
#ifdef __STDC__
>Audit-Trail:
>Unformatted: