This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
setres{g,u}id.c
- From: "Alfred M. Szmidt" <ams at kemisten dot nu>
- To: libc-alpha at sources dot redhat dot com, bddebian at comcast dot net
- Date: Fri, 11 Feb 2005 15:36:26 +0100
- Subject: setres{g,u}id.c
- Reply-to: ams at kemisten dot nu
Fixes undefined references to setresuid and setresgid.
2005-02-11 Barry deFrese <bddebian@comcast.net>
* sysdeps/mach/hurd/setresgid.c: Use weak_alias.
* sysdeps/mach/hurd/setresuid.c: Likewise.
Index: sysdeps/mach/hurd/setresgid.c
===================================================================
RCS file: /cvsroot/libc/libc/sysdeps/mach/hurd/setresgid.c,v
retrieving revision 1.1
diff -u -r1.1 setresgid.c
--- sysdeps/mach/hurd/setresgid.c 14 Oct 2002 01:03:11 -0000 1.1
+++ sysdeps/mach/hurd/setresgid.c 11 Feb 2005 01:51:15 -0000
@@ -1,5 +1,5 @@
/* setresgid -- set effective group ID, real group ID, and saved-set group ID
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -75,3 +75,4 @@
return err;
}
libc_hidden_def (__setresgid)
+weak_alias (__setresgid, setresgid)
Index: sysdeps/mach/hurd/setresuid.c
===================================================================
RCS file: /cvsroot/libc/libc/sysdeps/mach/hurd/setresuid.c,v
retrieving revision 1.1
diff -u -r1.1 setresuid.c
--- sysdeps/mach/hurd/setresuid.c 14 Oct 2002 01:03:11 -0000 1.1
+++ sysdeps/mach/hurd/setresuid.c 11 Feb 2005 01:51:15 -0000
@@ -1,5 +1,5 @@
/* setresuid -- set effective user ID, real user ID, and saved-set user ID
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -75,3 +75,4 @@
return err;
}
libc_hidden_def (__setresuid)
+weak_alias (__setresuid, setresuid)