From owner-freebsd-bugs Tue Nov 10 23:00:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA10752 for freebsd-bugs-outgoing; Tue, 10 Nov 1998 23:00:08 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA10694 for ; Tue, 10 Nov 1998 22:59:58 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id XAA24496; Tue, 10 Nov 1998 23:00:01 -0800 (PST) Date: Tue, 10 Nov 1998 23:00:01 -0800 (PST) Message-Id: <199811110700.XAA24496@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Peter Wemm Subject: Re: bin/8637: fgetpos()/fsetpos() don't work for >2GB filesize Reply-To: Peter Wemm Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/8637; it has been noted by GNATS. From: Peter Wemm To: Dan Nelson Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/8637: fgetpos()/fsetpos() don't work for >2GB filesize Date: Wed, 11 Nov 1998 13:05:38 +0800 Dan Nelson wrote: > In the last episode (Nov 10), Dmitrij Tejblum said: > > > One thing; our errno.h doesn't have an EOVERFLOW, so I used EFBIG in > > > ftell() for filesizes that exceed 2GB. This should probably get fixed. > > > > And how about just add EOVERFLOW to errno.h, instead of document the bug > > in man pages??? > > Well, if it's that easy, sure. I don't know all that much about the > repercussions of adding errors to errno.h. I suppose there's a string > table that needs adjusting, too, for strerror()? Anything else? NFS needs it added to the errno mapping tables, I suspect the binary emulation (linux, ibcs2 etc) need it too. Cheers, -Peter -- Peter Wemm Netplex Consulting "No coffee, No workee!" :-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message