Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: basesrc



On Sun, Jun 11, 2000 at 04:55:19PM +0900, itojun%iijlab.net@localhost wrote:

 > >Modified Files:
 > >    basesrc/usr.bin/ftp: ftp.c main.c version.h
 > >
 > >Log Message:
 > >portability fixes for lukemftp:
 > >* initconn(): use in_addr_t instead of u_int32_t when manipulating IPv6
 > >  addresses
 > 
 >      I believe u_int32_t is much more correct here.  there's no particular
 >      relationship between in_addr_t and IPv6 address.
 >      please backout the change.

If the concern is portability, use `uint32_t'.  Although, in_addr_t is
guaranteed to be a 32-bit unsigned integer (see SUSv2).

 >      RFC2553 (IPv6 basic API) does not talk about in_addr_t, so I think we
 >      cannot assume it.

What types does it specify?

-- 
        -- Jason R. Thorpe <thorpej%zembu.com@localhost>



Home | Main Index | Thread Index | Old Index