Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-OB-Received: from unknown (205.158.62.50) by wfilter.us4.outblaze.com; 5 Mar 2005 21:26:28 -0000 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline MIME-Version: 1.0 From: "imaginate australiamail.com" To: cygwin AT cygwin DOT com Date: Sat, 05 Mar 2005 16:26:28 -0500 Subject: Re: apparent bug: incorrect file position after write() Message-Id: <20050305212628.80C37164005@ws1-4.us4.outblaze.com> X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j25LQa9d005018 > > Brian Dessent wrote: > > > If > you don't want that, then don't use textmode mounts. > > ...or open the file with O_BINARY. > Mounting binary solves the problem - I wasn't aware of that functionality. O_BINARY is probably not so portable so I'll steer clear of that. Cheers for the help. -- ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm -- 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/