Path: utzoo!attcan!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.soft-sys.andrew Subject: Re: Trouble Building Andrew Under SunOS 4.1 Message-ID: <4095@auspex.auspex.com> Date: 26 Sep 90 17:39:16 GMT References: Organization: Auspex Systems, Santa Clara Lines: 19 >In these two routines, we eliminated references to the pw_quota field of the >passwd structure, which, following the System V conventions, is no >longer defined in 4.1. The reason it was done is that password aging (S5-style) is supported by SunOS 4.1, which means that in both environments (S5 and BSD) you want to provide a "pw_age" field in the "struct passwd" structure. The BSD "getpw*" routines, and the SunOS 4.0[.x] BSD-environment routines, *always* set the "pw_quota" field to zero, so... >We did this by setting STD_DEFINES = -DSUNOS41 in site.mcr and then >adding SUNOS41 to the #if tests for systems which don't support pw_quota. >Our assumption is that this symbol is not currently being used elsewhere >in the sources, ...if somebody *is* using it, I'm not sure why. The two routines you list (BTW, it's "gtvpwkey.c", not "getvpwkey.c", at least in the source we have here) set it to zero as well.