Subject: Errors in sys/kern/exec_script.c
To: None <current-users@NetBSD.ORG>
From: Rick Byers <rickb@iaw.on.ca>
List: current-users
Date: 05/09/1997 18:00:17
Hi, after today's sup, I got the following errors building the kernel.  As
far as I can tell, exec_script.c needs to include stat.h due to some
recent changes.  It's also generating a number of unitialized warnings.
I got it to build allright after some changes - I just wanted to make sure
I could get the "right" changes on my next sup :)

../../../../kern/exec_script.c: In function `exec_script_makecmds':
../../../../kern/exec_script.c:148: `S_ISUID' undeclared (first use this function)
../../../../kern/exec_script.c:148: (Each undeclared identifier is reported only once
../../../../kern/exec_script.c:148: for each function it appears in.)
../../../../kern/exec_script.c:148: `S_ISGID' undeclared (first use this function)
cc1: warnings being treated as errors
../../../../kern/exec_script.c:178: warning: suggest parentheses around assignment used as truth value
../../../../kern/exec_script.c:71: warning: `shellargp' might be used uninitialized in this function
../../../../kern/exec_script.c:72: warning: `scriptvp' might be used uninitialized in this function
../../../../kern/exec_script.c:74: warning: `script_uid' might be used uninitialized in this function
../../../../kern/exec_script.c:75: warning: `script_gid' might be used uninitialized in this function
../../../../kern/exec_script.c:76: warning: `script_sbits' might be used uninitialized in this function
../../../../kern/exec_script.c:244: warning: `vp' might be used uninitialized in this function
../../../../kern/exec_script.c:280: warning: `vp' might be used uninitialized in this function
*** Error code 1

Thanks,
	Rick

=========================================================================
Rick Byers                                      Internet Access Worldwide
rickb@iaw.on.ca                                      System Administrator
Welland, Ontario, Canada                                    (905)714-1400
http://www.iaw.on.ca/rickb/                         http://www.iaw.on.ca/