This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: fgetpos() succeeds on nonseekable devices
- To: hjl@lucon.org (H.J. Lu)
- Subject: Re: fgetpos() succeeds on nonseekable devices
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 20 Aug 1998 22:48:57 -0700
- Cc: libc-hacker@cygnus.com (GNU C Library)
- References: <m0z9jPP-00038xC@ocean.lucon.org>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
hjl@lucon.org (H.J. Lu) writes:
> The patch is wrong for glibc 2.1. You have to set _IO_pos_BAD for
> both the _old_offset and _offset fields in FILEBUF_LITERAL.
I've hopefully fixed that now.
> _IO_pos_BAD is defined twice. One is in iolibio.h and one is in
> _IO_pos_BAD. They are defferent. Should it be fixed?
I've changed the fpos_t based definition to fpos64_t.
Thanks,
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------