ingelabs / classpath

GNU Classpath, Essential Libraries for Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CPNIO_DSYNC flag ignored in VMChannel

ingebot opened this issue · comments

Note: this issue was migrated automatically using bugzilla2github

Original bug ID: BZ#70659
From: @guillerodriguez
Reported version: 0.99

Comment author: @guillerodriguez

The CPNIO_DSYNC flag is ignored by the VMChannel class (only CPNIO_SYNC is honoured). This breaks at least RandomFileAccess when open in "rwd" mode ("rws" would work as expected).

Comment author: @guillerodriguez

Created attachment 38265
Proposed fix

The attached patch fixes the problem. First reported to the GNU Classpath mailing list in Jan 2015.

Attached file: file_70659.txt (text/plain, 330 bytes)
Description: Proposed fix