inc/sys/stat.h (struct stat): Change the types of st_uid and st_gid to unsigned.
authorEli Zaretskii <eliz@gnu.org>
Sat, 21 Mar 2009 11:31:50 +0000 (11:31 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 21 Mar 2009 11:31:50 +0000 (11:31 +0000)
commit22749e9acb08d9a7ab78bdf930464b1f19012a63
treebddda2f8f67fc48f7dd3c184f0e109fecc0139d4
parentcc15c0f2167a8fa39d80f5d29672ee9d9eebd418
inc/sys/stat.h (struct stat): Change the types of st_uid and st_gid to unsigned.

inc/pwd.h (struct passwd): Change the types of pw_uid and pw_gid to unsigned.
  (getpwuid): Argument is now unsigned.
  uid_t is now unsigned.

ntlib.c (setuid): Argument is now unsigned.
(getuid): Return value is now unsigned.
(getpwuid): Argument is now unsigned.
(fchown): UID and GID arguments are now unsigned.

ntlib.h (fchown): UID and GID arguments are now unsigned.
(getuid): Return value is now unsigned.
(setuid): Argument is now unsigned.
(getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).

w32.c   (getpwuid): Change argument type to unsigned.
(struct w32_id): Change type of `rid' member to unsigned.
(w32_cached_id, w32_add_to_cache, get_name_and_id): Change type of
argument ID to unsigned.  All callers changed.
(getuid, geteuid, getgid, getegid): Change return type to unsigned.
lib-src/ChangeLog
lib-src/ntlib.c
lib-src/ntlib.h
nt/ChangeLog
nt/inc/pwd.h
nt/inc/sys/stat.h
src/ChangeLog
src/w32.c