From owner-freebsd-bugs Mon May 29 11: 0:13 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 56E1537BD02 for ; Mon, 29 May 2000 11:00:10 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA61128; Mon, 29 May 2000 11:00:08 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Mon, 29 May 2000 11:00:08 -0700 (PDT) Message-Id: <200005291800.LAA61128@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Alexander Langer Subject: Re: kern/18874: 32bit NFS servers export wrong negative values to 64bit clients Reply-To: Alexander Langer Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/18874; it has been noted by GNATS. From: Alexander Langer To: Anatoly Vorobey 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:57:59 +0200 Thus spake Anatoly Vorobey (mellon@pobox.com): > Bummer, scenario C shouldn't work at all -- can you check? But this > isn't your case, your case is scenario B IIRC -- and the conversion > should work fine, my patch corrects the problem which might happen > because the value gets divided before the third stage, when the compiler > still thinks it's unsigned 64bit. I'll test soon. At the moment I'm building world. I'll also try the quad_t cast instead of the long cast. Thanks anyways. Alex -- I need a new ~/.sig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message