In root case, store into NEWAUX, not old vector.
authorroland <roland>
Fri, 22 Dec 1995 16:52:01 +0000 (16:52 +0000)
committerroland <roland>
Fri, 22 Dec 1995 16:52:01 +0000 (16:52 +0000)
sysdeps/mach/hurd/setgid.c

index 660a3fe..b2d9313 100644 (file)
@@ -66,7 +66,7 @@ DEFUN(__setgid, (gid), gid_t gid)
              newaux = auxbuf;
              naux = 2;
            }
-         _hurd_id.aux.gids[0] = _hurd_id.aux.gids[1] = gid;
+         newaux[0] = newaux[1] = gid;
        }
       else
        {