about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-02-15 03:08:45 +0000
committerRoland McGrath <roland@gnu.org>2005-02-15 03:08:45 +0000
commit0d7344dfb141cc56faa2614ac95511e850989b8d (patch)
tree8dcaf6f34b03cd7ebfe0a0f8e6f4ac1e2c404def
parent951718bdce96003b0eefb543059b6378f8be2a1d (diff)
downloadglibc-0d7344dfb141cc56faa2614ac95511e850989b8d.tar.gz
glibc-0d7344dfb141cc56faa2614ac95511e850989b8d.tar.xz
glibc-0d7344dfb141cc56faa2614ac95511e850989b8d.zip
[BZ #722]
2005-02-11  Barry deFrese  <bddebian@comcast.net>
	[BZ #722]
	* sysdeps/mach/hurd/setresgid.c: Use weak_alias.
	* sysdeps/mach/hurd/setresuid.c: Likewise.
-rw-r--r--ChangeLog6
-rw-r--r--sysdeps/mach/hurd/setresgid.c3
-rw-r--r--sysdeps/mach/hurd/setresuid.c3
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 800b666097..b85450bccb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-02-11  Barry deFrese  <bddebian@comcast.net>
+
+	[BZ #722]
+	* sysdeps/mach/hurd/setresgid.c: Use weak_alias.
+	* sysdeps/mach/hurd/setresuid.c: Likewise.
+
 2005-02-14  GOTO Masanori  <gotom@debian.or.jp>
 
 	* misc/sys/syslog.h: Fix typo in comment.
diff --git a/sysdeps/mach/hurd/setresgid.c b/sysdeps/mach/hurd/setresgid.c
index d0ee412b46..5e3c7f0836 100644
--- a/sysdeps/mach/hurd/setresgid.c
+++ b/sysdeps/mach/hurd/setresgid.c
@@ -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 @@ __setresgid (gid_t egid, gid_t rgid, gid_t sgid)
   return err;
 }
 libc_hidden_def (__setresgid)
+weak_alias (__setresgid, setresgid)
diff --git a/sysdeps/mach/hurd/setresuid.c b/sysdeps/mach/hurd/setresuid.c
index 2d05dbc850..f9d76a95ca 100644
--- a/sysdeps/mach/hurd/setresuid.c
+++ b/sysdeps/mach/hurd/setresuid.c
@@ -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 @@ __setresuid (uid_t euid, uid_t ruid, uid_t suid)
   return err;
 }
 libc_hidden_def (__setresuid)
+weak_alias (__setresuid, setresuid)