This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Fix libstdc++/7744
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Paolo Carlini <pcarlini at unitus dot it>
- Cc: libstdc++ at gcc dot gnu dot org
- Date: Sun, 9 Mar 2003 15:30:40 -0600
- Subject: Re: [Patch] Fix libstdc++/7744
- References: <3E6B02E5.3070407@unitus.it>
Paolo, this looks good modulo small bits below.
>P.S. Benjamin, in my private message I forgot _your_ 9780!
Not quite sure what you mean here. Can you help me out?
-benjamin
+ // block until the asked number of bytes is available.
should be
+ // block until the asked number of bytes are available.
pos_type __tmp =
- _M_file.seekoff(__off, ios_base::cur, __mode);
+ _M_file.seekoff(__off, ios_base::cur, __sync, __mode);
should be
pos_type __tmp = _M_file.seekoff(__off, ios_base::cur,
__sync, __mode);