]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Some Solaris systems seem to give root a gid of 1.
authorTim Kientzle <kientzle@gmail.com>
Sat, 1 May 2010 17:46:26 +0000 (13:46 -0400)
committerTim Kientzle <kientzle@gmail.com>
Sat, 1 May 2010 17:46:26 +0000 (13:46 -0400)
SVN-Revision: 2347

cpio/test/test_owner_parse.c

index 9875e91e4ad02a156f9d52787e956e6247e4835c..8f9343ab9cb59f348deb09d4afd93eebd9088551 100644 (file)
@@ -31,7 +31,7 @@ __FBSDID("$FreeBSD$");
 #if !defined(_WIN32)
 #define ROOT "root"
 static int root_uids[] = { 0 };
-static int root_gids[] = { 0 };
+static int root_gids[] = { 0, 1 };
 #elif defined(__CYGWIN__)
 /* On cygwin, the Administrator user most likely exists (unless
  * it has been renamed or is in a non-English localization), but