Bug 1122 - __USE_GNU is internal glibc macro and should not be used
Summary: __USE_GNU is internal glibc macro and should not be used
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Miscellaneous (show other bugs)
Version: 4.2p1
Hardware: Other Linux
: P2 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: 1047
  Show dependency treegraph
 
Reported: 2005-11-22 05:43 AEDT by Tomas Mraz
Modified: 2006-10-07 11:43 AEST (History)
0 users

See Also:


Attachments
Proposed simple patch (547 bytes, patch)
2005-11-22 05:44 AEDT, Tomas Mraz
dtucker: ok+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mraz 2005-11-22 05:43:14 AEDT
The __USE_GNU is internal glibc macro and should not be used directly. To properly obtain extra prototypes which are available in glibc the _GNU_SOURCE macro should be defined before including any glibc includes.
Comment 1 Tomas Mraz 2005-11-22 05:44:19 AEDT
Created attachment 1030 [details]
Proposed simple patch
Comment 2 Darren Tucker 2005-11-22 09:56:12 AEDT
Comment on attachment 1030 [details]
Proposed simple patch

Seems reasonable, any objections?
Comment 3 Darren Tucker 2005-11-28 17:07:15 AEDT
Unless there is a reason this needs to be done immediately, I'm going to leave it for now and apply it immediately after the 4.3 release.
Comment 4 Tomas Mraz 2005-11-28 22:04:15 AEDT
It won't compile with glibc 2.4 without patching it.
Comment 5 Darren Tucker 2005-11-28 22:29:49 AEDT
In that case since no one objected I have applied the patch.  Thanks.
Comment 6 Darren Tucker 2006-10-07 11:43:20 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.