about summary refs log tree commit diff
path: root/sysdeps/mach/hurd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-12-23 01:14:10 +0000
committerRoland McGrath <roland@gnu.org>1995-12-23 01:14:10 +0000
commit2114e10acb7494eddd5417c27cd52199f4fe9517 (patch)
tree30543b37265562f35608e99bb7c4a312c19c919c /sysdeps/mach/hurd
parent975320984b9f9fa6742136447ec82e7e304d83fd (diff)
downloadglibc-2114e10acb7494eddd5417c27cd52199f4fe9517.tar.gz
glibc-2114e10acb7494eddd5417c27cd52199f4fe9517.tar.xz
glibc-2114e10acb7494eddd5417c27cd52199f4fe9517.zip
Fri Dec 22 00:38:00 1995 H.J. Lu <hjl@nynexst.com>
        * stdio-common/vfscanf.c: Correctly handle white space skipping.
	* stdio-common/Makefile (tests): Add bug11.
	* stdio-common/bug11.c: New file.
Fri Dec 22 00:38:00 1995  H.J. Lu  <hjl@nynexst.com>

        * stdio-common/vfscanf.c: Correctly handle white space skipping.
	* stdio-common/Makefile (tests): Add bug11.
	* stdio-common/bug11.c: New file.
Diffstat (limited to 'sysdeps/mach/hurd')
-rw-r--r--sysdeps/mach/hurd/setgid.c2
-rw-r--r--sysdeps/mach/hurd/setuid.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/setgid.c b/sysdeps/mach/hurd/setgid.c
index 660a3fe5d0..b2d9313307 100644
--- a/sysdeps/mach/hurd/setgid.c
+++ b/sysdeps/mach/hurd/setgid.c
@@ -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
 	{
diff --git a/sysdeps/mach/hurd/setuid.c b/sysdeps/mach/hurd/setuid.c
index 586ad2154f..c2491d6d13 100644
--- a/sysdeps/mach/hurd/setuid.c
+++ b/sysdeps/mach/hurd/setuid.c
@@ -66,7 +66,7 @@ DEFUN(__setuid, (uid), uid_t uid)
 	      newaux = auxbuf;
 	      naux = 2;
 	    }
-	  _hurd_id.aux.uids[0] = _hurd_id.aux.uids[1] = uid;
+	  newaux[0] = newaux[1] = uid;
 	}
       else
 	{