cvs commit: src/include unistd.h
David O'Brien
obrien at FreeBSD.org
Tue Aug 19 18:03:09 PDT 2003
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.
More information about the cvs-src
mailing list