Bug 1122

Summary: __USE_GNU is internal glibc macro and should not be used
Product: Portable OpenSSH Reporter: Tomas Mraz <t8m>
Component: MiscellaneousAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: normal    
Priority: P2    
Version: 4.2p1   
Hardware: Other   
OS: Linux   
Bug Depends on:    
Bug Blocks: 1047    
Attachments:
Description Flags
Proposed simple patch dtucker: ok+

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.