-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Gary R. Van Sickle on 3/5/2005 6:39 PM:
> O_BINARY is POSIX. Use it. Do this if you have to:
>
Where do you see that?
http://www.opengroup.org/onlinepubs/009695399/basedefs/fcntl.h.html lists
O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of imaginate
> australiamail.com
> Sent: Saturday, March 05, 2005 3:26 PM
> To: cygwin@cygwin.com
> Subject: Re: apparent bug: incorrect file position after write()
>
>
"imaginate australiamail.com" wrote:
>
> >
> > 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 por
>
> 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.
Brian Dessent wrote:
> If > you don't want that, then don't use textmode mounts.
...or open the file with O_BINARY.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:
"imaginate australiamail.com" wrote:
>
> I'm experiencing unexpected behaviour under cygwin that as far as I
> know doesn't happen under linux. I don't have access to linux to
> test at present.
>
> Some successful write()s to a file increment the file's position by
> more than the count argumen
6 matches
Mail list logo