[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: inet_aton declaration broken, in_addr_t vs. int [50 character or so
From: |
Petter Reinholdtsen |
Subject: |
Re: inet_aton declaration broken, in_addr_t vs. int [50 character or so descriptive subject here (for reference)] |
Date: |
Thu, 22 Jul 2004 09:11:17 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (usg-unix-v) |
[Matthias Andree, 2003-02-22]
>>Description:
> The inet_aton declaration in line #74 of arpa/inet.h reads:
> /* Convert Internet host address from numbers-and-dots notation in CP
> * into binary data and store the result in the structure INP. */
> extern in_addr_t inet_aton (__const char *__cp, struct in_addr *__inp)
> __THROW;
>
> However, this function returns "int" on any other system I have access
> to, and according to the documentation.
You are right, and the fix was commited to CVS today:
2004-07-22 GOTO Masanori <address@hidden>
[BZ #276]
* include/arpa/inet.h: Change inet_aton type from in_addr_t to int.
* inet/arpa/inet.h: Likewise.
* resolv/inet_addr.c: Likewise.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: inet_aton declaration broken, in_addr_t vs. int [50 character or so descriptive subject here (for reference)],
Petter Reinholdtsen <=