Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2003 18:03:04 -0700
From:      "David O'Brien" <obrien@FreeBSD.org>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Subject:   Re: cvs commit: src/include unistd.h
Message-ID:  <20030820010304.GA90059@dragon.nuxi.com>
In-Reply-To: <20030819220248.GA91232@athlon.pn.xcllnt.net>
References:  <200308192039.h7JKdni9081097@repoman.freebsd.org> <20030819210421.GA28597@athlon.pn.xcllnt.net> <200308192132.h7JLWnZk035752@khavrinen.lcs.mit.edu> <20030819220248.GA91232@athlon.pn.xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 19, 2003 at 03:02:48PM -0700, Marcel Moolenaar wrote:
> int
> gethostname(name, namelen)
>         char *name;
>         size_t namelen;
> {
>         int mib[2];
>         size_t size;

#ifdef __alpha__ 

> 	/*
> 	 * Preserve behaviour for when namelen was an int.
> 	 * This avoids ABI breakages.
> 	 */
> 	namelen = (int)namelen;

#endif

I don't think we should worry about this for AMD64 -- I'd rather for
things to be correct on it.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030820010304.GA90059>