public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/5737] New: NI_MAXHOST should be available without -D_GNU_SOURCE defined
@ 2008-02-06 11:50 ismail at pardus dot org dot tr
  2008-02-14 19:59 ` [Bug libc/5737] " tjanouse at redhat dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ismail at pardus dot org dot tr @ 2008-02-06 11:50 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/cgi-bin/cvsweb.cgi/libc/resolv/netdb.h.diff?r1=1.47&r2=1.48&cvsroot=glibc&f=h
started to define NI_MAXHOST only if _GNU_SOURCE is defined. 

This is wrong because NI_MAXHOST is also used on BSD systems and this change
breaks lots of applications.

-- 
           Summary: NI_MAXHOST should be available without -D_GNU_SOURCE
                    defined
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P1
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: ismail at pardus dot org dot tr
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=5737

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libc/5737] NI_MAXHOST should be available without -D_GNU_SOURCE defined
  2008-02-06 11:50 [Bug libc/5737] New: NI_MAXHOST should be available without -D_GNU_SOURCE defined ismail at pardus dot org dot tr
@ 2008-02-14 19:59 ` tjanouse at redhat dot com
  2008-02-14 21:32 ` joshuadfranklin at yahoo dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: tjanouse at redhat dot com @ 2008-02-14 19:59 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tjanouse at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=5737

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libc/5737] NI_MAXHOST should be available without -D_GNU_SOURCE defined
  2008-02-06 11:50 [Bug libc/5737] New: NI_MAXHOST should be available without -D_GNU_SOURCE defined ismail at pardus dot org dot tr
  2008-02-14 19:59 ` [Bug libc/5737] " tjanouse at redhat dot com
@ 2008-02-14 21:32 ` joshuadfranklin at yahoo dot com
  2008-02-14 23:23 ` joshuadfranklin at yahoo dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: joshuadfranklin at yahoo dot com @ 2008-02-14 21:32 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From joshuadfranklin at yahoo dot com  2008-02-14 21:31 -------
These seem to be defined on at least Tru64 and Solaris, too:

https://www.redhat.com/archives/fedora-devel-list/2008-February/msg01231.html

Perhaps they could just be undefined in strict SUSv3 case, but left defined for
the common case.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5737

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libc/5737] NI_MAXHOST should be available without -D_GNU_SOURCE defined
  2008-02-06 11:50 [Bug libc/5737] New: NI_MAXHOST should be available without -D_GNU_SOURCE defined ismail at pardus dot org dot tr
  2008-02-14 19:59 ` [Bug libc/5737] " tjanouse at redhat dot com
  2008-02-14 21:32 ` joshuadfranklin at yahoo dot com
@ 2008-02-14 23:23 ` joshuadfranklin at yahoo dot com
  2008-02-15 10:53 ` roy at marples dot name
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: joshuadfranklin at yahoo dot com @ 2008-02-14 23:23 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From joshuadfranklin at yahoo dot com  2008-02-14 23:22 -------
Just to follow up, here is a complete list from yesterday's complete Fedora
devel rebuild that failed with "error: 'NI_MAXHOST' undeclared"

alpine-1.00-2.fc9.src.rpm
brltty-3.9-1.1.fc9.src.rpm
curl-7.18.0-1.fc9.src.rpm
cyrus-imapd-2.3.9-8.fc9.src.rpm
cyrus-sasl-2.1.22-11.fc9.src.rpm
ghc-6.8.2-2.fc9.src.rpm
gkrellm-2.3.1-2.fc9.src.rpm
gnet2-2.0.7-10.fc8.src.rpm
irssi-0.8.12-4.fc9.src.rpm
krb5-1.6.3-4.fc9.src.rpm
lash-0.5.3-3.fc8.src.rpm
libevent-1.3e-1.fc9.src.rpm
libident-0.32-1.fc9.src.rpm
lksctp-tools-1.0.7-2.fc8.src.rpm
loudmouth-1.3.3-2.fc9.src.rpm
mail-notification-5.0-2.fc9.src.rpm
nc6-1.0-5.fc8.src.rpm
nfs-utils-lib-1.1.1-1.fc9.src.rpm
openssl-0.9.8g-4.fc9.src.rpm
pioneers-0.11.3-3.fc9.src.rpm
rbldnsd-0.996a-4.fc8.src.rpm
rsh-0.17-45.fc9.src.rpm
ruby-1.8.6.111-7.fc9.src.rpm
slrn-0.9.8.1pl1-7.20070716cvs.fc9.src.rpm
tcp_wrappers-7.6-50.fc8.src.rpm
tcpdump-3.9.8-3.fc9.src.rpm
telepathy-salut-0.2.2-1.fc9.src.rpm
ttcp-1.12-16.fc8.src.rpm
xorg-x11-server-utils-7.3-2.fc9.src.rpm


This will be a lot of patching if NI_MAXHOST is going to stay _GNU_SOURCE .

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5737

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libc/5737] NI_MAXHOST should be available without -D_GNU_SOURCE defined
  2008-02-06 11:50 [Bug libc/5737] New: NI_MAXHOST should be available without -D_GNU_SOURCE defined ismail at pardus dot org dot tr
                   ` (2 preceding siblings ...)
  2008-02-14 23:23 ` joshuadfranklin at yahoo dot com
@ 2008-02-15 10:53 ` roy at marples dot name
  2008-02-15 10:53 ` roy at marples dot name
  2008-02-15 15:51 ` drepper at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: roy at marples dot name @ 2008-02-15 10:53 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From roy at marples dot name  2008-02-15 10:52 -------
Would they work if the guard was changed to __USE_BSD?

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5737

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libc/5737] NI_MAXHOST should be available without -D_GNU_SOURCE defined
  2008-02-06 11:50 [Bug libc/5737] New: NI_MAXHOST should be available without -D_GNU_SOURCE defined ismail at pardus dot org dot tr
                   ` (3 preceding siblings ...)
  2008-02-15 10:53 ` roy at marples dot name
@ 2008-02-15 10:53 ` roy at marples dot name
  2008-02-15 15:51 ` drepper at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: roy at marples dot name @ 2008-02-15 10:53 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roy at marples dot name


http://sourceware.org/bugzilla/show_bug.cgi?id=5737

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug libc/5737] NI_MAXHOST should be available without -D_GNU_SOURCE defined
  2008-02-06 11:50 [Bug libc/5737] New: NI_MAXHOST should be available without -D_GNU_SOURCE defined ismail at pardus dot org dot tr
                   ` (4 preceding siblings ...)
  2008-02-15 10:53 ` roy at marples dot name
@ 2008-02-15 15:51 ` drepper at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: drepper at redhat dot com @ 2008-02-15 15:51 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2008-02-15 15:50 -------
I changed the header to define the macro when __USE_MISC is defined.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=5737

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-02-15 15:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-06 11:50 [Bug libc/5737] New: NI_MAXHOST should be available without -D_GNU_SOURCE defined ismail at pardus dot org dot tr
2008-02-14 19:59 ` [Bug libc/5737] " tjanouse at redhat dot com
2008-02-14 21:32 ` joshuadfranklin at yahoo dot com
2008-02-14 23:23 ` joshuadfranklin at yahoo dot com
2008-02-15 10:53 ` roy at marples dot name
2008-02-15 10:53 ` roy at marples dot name
2008-02-15 15:51 ` drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).