Date: Mon, 29 May 2000 10:50:02 -0700 (PDT) From: Alexander Langer <alex@big.endian.de> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/18874: 32bit NFS servers export wrong negative values to 64bit clients Message-ID: <200005291750.KAA60167@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/18874; it has been noted by GNATS. From: Alexander Langer <alex@big.endian.de> To: Anatoly Vorobey <mellon@pobox.com> Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/18874: 32bit NFS servers export wrong negative values to 64bit clients Date: Mon, 29 May 2000 19:48:21 +0200 Thus spake Anatoly Vorobey (mellon@pobox.com): > it to long. Then it'll hold the real negative value which must be correctly > converted into long. I know that you can point out that Alpha's long was > bigger than i386's long -- but there's not much you can do about *that*, > since you have to start from struct statfs on Alpha and finish with struct > statfs on i386, and f_bavail is long on both. You'll just have to hope that > the underlying filesystem restricts this value to 32 bits or something. What about taking quad_t and not u_quat_t? I think that would be _much_ more appreciated, isn't it? (for the conversion) Alex -- I need a new ~/.sig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200005291750.KAA60167>
