Message5580

Author pjenvey
Recipients crankycoder, pjenvey
Date 2010-03-21.17:31:24
SpamBayes Score 1.3731538e-05
Marked as misclassified No
Message-id <1269192686.24.0.737916622257.issue1576@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, this is indeed a regression from the O_APPEND fix in r6796 (#1466). We're now using an underlying FileOutputStream for append mode so we can force a real underlying O_APPEND mode on the file. But of course this FileOuputSTream is opened in write only mode. So in the meantime we're just going to have disable this behavior in a+ mode.

In the future we should take advantage of our jnr-posix library to open native files in whatever mode we need. Though we'd need to somehow translate that underlying file handle to a java FileDescriptor or FileChannel
History
Date User Action Args
2010-03-21 17:31:26pjenveysetmessageid: <1269192686.24.0.737916622257.issue1576@psf.upfronthosting.co.za>
2010-03-21 17:31:26pjenveysetrecipients: + pjenvey, crankycoder
2010-03-21 17:31:26pjenveylinkissue1576 messages
2010-03-21 17:31:24pjenveycreate