This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] Further ftell{,o,o64}, fgetpos{,64} fix
- From: Roland McGrath <roland at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Ulrich Drepper <drepper at redhat dot com>,libc-alpha at sources dot redhat dot com
- Date: Thu, 4 Nov 2004 15:22:39 -0800
- Subject: Re: [PATCH] Further ftell{,o,o64}, fgetpos{,64} fix
> IMHO if _IO_seekoff_unlocked returns _IO_pos_BAD (e.g. because lseek
> failed), we shouldn't subtract anything from it and just return EIO error.
That seems clearly right. I've put the change in.
Thanks,
Roland