Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 1998 23:00:01 -0800 (PST)
From:      Peter Wemm <peter@netplex.com.au>
To:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: bin/8637: fgetpos()/fsetpos() don't work for >2GB filesize 
Message-ID:  <199811110700.XAA24496@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/8637; it has been noted by GNATS.

From: Peter Wemm <peter@netplex.com.au>
To: Dan Nelson <dnelson@emsphone.com>
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 <peter@netplex.com.au>   Netplex Consulting
 "No coffee, No workee!" :-)
 
 

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?199811110700.XAA24496>