NetBSD Problem Report #4122

Received: (qmail 1472 invoked from network); 18 Sep 1997 15:13:41 -0000
Message-Id: <199709181507.RAA17582@cyberlap.informatik.uni-karlsruhe.de>
Date: Thu, 18 Sep 1997 17:07:54 +0200 (CEST)
From: frueauf@ira.uka.de
Reply-To: frueauf@ira.uka.de
To: gnats-bugs@gnats.netbsd.org
Subject: XIDLE encapsulation of "ufp" is not consistent in rusers_proc.c
X-Send-Pr-Version: 3.95

>Number:         4122
>Category:       bin
>Synopsis:       XIDLE encapsulation of "ufp" is not consistent in rusers_proc.c
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 18 08:20:01 +0000 1997
>Closed-Date:    Thu Sep 18 19:42:14 +0000 1997
>Last-Modified:  Thu Sep 18 19:42:41 +0000 1997
>Originator:     Thorsten Frueauf
>Release:        <NetBSD-current source date> NetBSD current 18.09.1997
>Organization:
private

>Environment:

System: NetBSD cyberlap 1.2G NetBSD 1.2G (CYBERLAP) #2: Wed Sep 17 17:51:12 CEST 1997 frueauf@cyberlap:/usr/src/sys/arch/i386/compile/CYBERLAP i386


>Description:

XIDLE encapsulation of "ufp" is not consistent in
/src/libexec/rpc.rusersd/rusers_proc.c, thus it does not build if XIDLE is
not defined.

>How-To-Repeat:

Try to compile /src/libexec/rpc.rusersd with current sources of today
where XIDLE is not defined and watch:

cc -O -O4 -m486 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes  -c /usr/
src/libexec/rpc.rusersd/rusers_proc.c
/usr/src/libexec/rpc.rusersd/rusers_proc.c: In function `rusers_num_svc':
/usr/src/libexec/rpc.rusersd/rusers_proc.c:219: `ufp' undeclared (first use this function)
/usr/src/libexec/rpc.rusersd/rusers_proc.c:219: (Each undeclared identifier is reported only once
/usr/src/libexec/rpc.rusersd/rusers_proc.c:219: for each function it appears in.)
/usr/src/libexec/rpc.rusersd/rusers_proc.c: In function `do_names_3':
/usr/src/libexec/rpc.rusersd/rusers_proc.c:251: `ufp' undeclared (first use this function)
/usr/src/libexec/rpc.rusersd/rusers_proc.c: In function `do_names_2':
/usr/src/libexec/rpc.rusersd/rusers_proc.c:313: `ufp' undeclared (first use this function)
*** Error code 1

>Fix:

Either encapsulate above lines with "#ifdef XIDLE" or define "FILE *ufp;"
global in /src/libexec/rpc.rusersd/rusers_proc.c.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: christos 
State-Changed-When: Thu Sep 18 15:42:14 EDT 1997 
State-Changed-Why:  
Fixed, thanks 
>Unformatted:
 XIDLE encapsulation of "ufp" is not consistent in rusers_proc.c

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.