]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
rpc: convert all uid and gid variables of the type uid_t and gid_t.
authorpfg <pfg@FreeBSD.org>
Wed, 3 Oct 2012 20:39:11 +0000 (20:39 +0000)
committerpfg <pfg@FreeBSD.org>
Wed, 3 Oct 2012 20:39:11 +0000 (20:39 +0000)
commitfc02898d2b53483e0c3e7ac6b4d1520e27365095
treed28660cfbcdbb34571b8d4447341dd0350cf4620
parentcecfb309c72bbfaffe0aaa2af2f2609d9b05d327
rpc: convert all uid and gid variables of the type uid_t and gid_t.

The previous change (based on Solaris) doesn't work properly either
as the casting only has the effect of quieting the compiler.

Move back to the previous solution but adjust the sizeof()
type in xdr_array(). This should mostly work (by accident).

Reported by: bde
lib/libc/rpc/authunix_prot.c