This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2680] New: getlogin_r declared under wrong conditions
- From: "jsm28 at gcc dot gnu dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 21 May 2006 12:11:04 -0000
- Subject: [Bug libc/2680] New: getlogin_r declared under wrong conditions
- Reply-to: sourceware-bugzilla at sourceware dot org
As I noted at <http://sourceware.org/ml/libc-alpha/2005-09/msg00024.html>,
getlogin_r should be declared if __USE_POSIX199506, not just if __USE_UNIX98.
I'll attach a patch to make this change.
If you'd prefer the larger change eliminating __USE_REENTRANT, _REENTRANT and
_THREAD_SAFE, I can do such a patch as well.
--
Summary: getlogin_r declared under wrong conditions
Product: glibc
Version: 2.4
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: jsm28 at gcc dot gnu dot org
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=2680
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.