From: Jim Meyering Date: Fri, 2 Jan 1998 23:16:38 +0000 (+0000) Subject: (get_ids): When otherwise unspecified, set uid and gid to -1. X-Git-Tag: v4.5.1~8963 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fb86e2eb854e84231c9dbbeaf47caf21d75dba1;p=thirdparty%2Fcoreutils.git (get_ids): When otherwise unspecified, set uid and gid to -1. --- diff --git a/src/install.c b/src/install.c index 4dc8716d5d..470da79a7d 100644 --- a/src/install.c +++ b/src/install.c @@ -607,7 +607,7 @@ get_ids (void) endpwent (); } else - owner_id = getuid (); + owner_id = (uid_t) -1; if (group_name) { @@ -625,7 +625,7 @@ get_ids (void) endgrent (); } else - group_id = getgid (); + group_id = (gid_t) -1; } static void