[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: putty package, getresgid undefined..

From: Barry deFreese
Subject: Re: putty package, getresgid undefined..
Date: Mon, 07 Feb 2005 21:49:33 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050105 Debian/1.7.5-1

Barry deFreese wrote:

Munteanu Alexandru wrote:

I have the following errors at the compilation :

getresgid undefined
getresuid undefined

and the file <unistd.h> is included in the file where I have this error



I was talking with Marcus about this on ##hurd and there apparently are missing weak aliases for these functions in glibc.

Someone needs to add weak_alias (__setresgid, setresgid) to sysdeps/mach/hurd/setresgid.c
and weak_alias (__setresuid, setresuid) to sysdeps/mach/hurd/setresuid.c

At least I hope I got that right.. If I think I can get it right, I'll try to send something upstream to glibc.

Take care,

OK, I have the fixes for glibc. I will send them upstream as soon as I figure out where.. :-)

I am cc'ing bug-hurd since this is really a bug not a Debian issue.

Barry deFreese
Debian 3.0r1 "Woody"
Registered Linux "Newbie" #302256 - Hurd H4XX0r wannabe

"Programming today is a race between software engineers striving
to build bigger and better idiot-proof programs, and the Universe
trying to produce bigger and better idiots. So far, the Universe is
winning." Rich Cook.

--- setresgid.corg      2005-02-08 00:18:58.000000000 -0500
+++ setresgid.c 2005-02-08 00:20:22.000000000 -0500
@@ -75,3 +75,4 @@ __setresgid (gid_t egid, gid_t rgid, gid
   return err;
 libc_hidden_def (__setresgid)
+weak_alias (__setresgid, setresgid)
--- setresuid.corg      2005-02-08 00:19:08.000000000 -0500
+++ setresuid.c 2005-02-08 00:20:29.000000000 -0500
@@ -75,3 +75,4 @@ __setresuid (uid_t euid, uid_t ruid, uid
   return err;
 libc_hidden_def (__setresuid)
+weak_alias (__setresuid, setresuid)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]