X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=3.6 required=5.0 	tests=AWL,BARRACUDA_BRBL,BAYES_50,RCVD_IN_BL_SPAMCOP_NET
X-Spam-Check-By: sourceware.org
Message-ID: <499ED7D6.7010804@mff.cuni.cz>
Date: Fri, 20 Feb 2009 17:18:30 +0100
From: Pavel Kudrna <Pavel.Kudrna@mff.cuni.cz>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: fstream - problem with reading/writing to file
References: <499DAEA9.90309@mff.cuni.cz> <Pine.NEB.4.64.0902191430250.24046@panix3.panix.com> <499DCB5C.2090606@sbcglobal.net>
In-Reply-To: <499DCB5C.2090606@sbcglobal.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Greg Chicares wrote:
> On 2009-02-19 20:33Z, Tim McDaniel wrote:
>   
> I think you mean C99 7.19.5.3/6, which says
>
> "output shall not be directly followed by input without an intervening
> call to the fflush function or to a file positioning function"
> and vice versa.
>
> The C++ standard refers to the C standard for low-level stuff like this.
>   
Thanks for answer. I should look how it is exactly in C++ because 
fstream::flush() call between
read/write does not help.
Pavel Kudrna

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

