public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/276] New: Prototype of inet_aton returns in_addr_t, but man has int
@ 2004-07-21 13:23 fork0 at users dot sf dot net
  2004-07-21 15:31 ` [Bug libc/276] " gotom at debian dot or dot jp
  2004-07-21 16:43 ` gotom at debian dot or dot jp
  0 siblings, 2 replies; 3+ messages in thread
From: fork0 at users dot sf dot net @ 2004-07-21 13:23 UTC (permalink / raw)
  To: glibc-bugs

The manual page makes more sense, as with in_addr_t one have to expect an address
to be returned, whereas it is a boolean really.

-- 
           Summary: Prototype of inet_aton returns in_addr_t, but man has
                    int
           Product: glibc
           Version: 2.3.2
            Status: NEW
          Severity: minor
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: fork0 at users dot sf dot net
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i686-suse-linux


http://sources.redhat.com/bugzilla/show_bug.cgi?id=276

------- 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] 3+ messages in thread

* [Bug libc/276] Prototype of inet_aton returns in_addr_t, but man has int
  2004-07-21 13:23 [Bug libc/276] New: Prototype of inet_aton returns in_addr_t, but man has int fork0 at users dot sf dot net
@ 2004-07-21 15:31 ` gotom at debian dot or dot jp
  2004-07-21 16:43 ` gotom at debian dot or dot jp
  1 sibling, 0 replies; 3+ messages in thread
From: gotom at debian dot or dot jp @ 2004-07-21 15:31 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From gotom at debian dot or dot jp  2004-07-21 15:31 -------
I agreed with this opinion.  inet_aton does not return address, 
it just returns the status which is succeeded (!0 == 1 in glibc) or 
failed (0).  It's trivial, but in_addr_t is uint32_t, not signed int32_t.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED


http://sources.redhat.com/bugzilla/show_bug.cgi?id=276

------- 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] 3+ messages in thread

* [Bug libc/276] Prototype of inet_aton returns in_addr_t, but man has int
  2004-07-21 13:23 [Bug libc/276] New: Prototype of inet_aton returns in_addr_t, but man has int fork0 at users dot sf dot net
  2004-07-21 15:31 ` [Bug libc/276] " gotom at debian dot or dot jp
@ 2004-07-21 16:43 ` gotom at debian dot or dot jp
  1 sibling, 0 replies; 3+ messages in thread
From: gotom at debian dot or dot jp @ 2004-07-21 16:43 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From gotom at debian dot or dot jp  2004-07-21 16:43 -------
Thanks for your report, it has just been fixed in the latest cvs.

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


http://sources.redhat.com/bugzilla/show_bug.cgi?id=276

------- 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] 3+ messages in thread

end of thread, other threads:[~2004-07-21 16:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-21 13:23 [Bug libc/276] New: Prototype of inet_aton returns in_addr_t, but man has int fork0 at users dot sf dot net
2004-07-21 15:31 ` [Bug libc/276] " gotom at debian dot or dot jp
2004-07-21 16:43 ` gotom at debian dot or dot jp

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).