ingelabs / classpath

GNU Classpath, Essential Libraries for Java
Other
8 stars 3 forks source link

CPNIO_DSYNC flag ignored in VMChannel #3

Closed ingebot closed 1 year ago

ingebot commented 8 years ago

Note: this issue was migrated automatically using bugzilla2github

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

ingebot commented 8 years ago

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).

ingebot commented 8 years ago

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