apparent bug: incorrect file position after write()

imaginate australiamail.com imaginate@australiamail.com
Sun Mar 6 01:48:00 GMT 2005


> 
> 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/



More information about the Cygwin mailing list