This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: EOVERFLOW in fseek()
On 06/20/2012 12:51 PM, Corinna Vinschen wrote:
On Jun 20 10:46, Sebastian Huber wrote:
> In FreeBSD these integer overflows are checked for example:
>
> http://svnweb.freebsd.org/base/head/lib/libc/stdio/fseek.c?revision=178287&view=markup
>
> They use also a common _fseeko() function with an ltest parameter to
> perform long value overflow tests.
Would you like to create a patch?
I can create a patch, but this will take a couple of weeks since this issue has
currently a low priority for us.
I will use the FreeBSD implementation as a template.
--
Sebastian Huber, embedded brains GmbH
Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone : +49 89 18 90 80 79-6
Fax : +49 89 18 90 80 79-9
E-Mail : sebastian.huber@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschÃftliche Mitteilung im Sinne des EHUG.