Project

General

Profile

Bug #193

fsync() should not be called when closing read-only files

Added by John Lindgren about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Minor
Assignee:
Category:
plugins/unix io
Target version:
Start date:
October 06, 2012
Due date:
% Done:

100%

Estimated time:
Affects version:

Description

Under Linux, fsync() returns an error when the file is on a read-only medium such as a CD-ROM. We should prevent this error by not calling fsync() when we have opened a file in read-only mode.

History

#1 Updated by John Lindgren about 12 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF