Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#6698 closed defect (fixed)

Patch for make failure in ThreadedFileWriter.cpp

Reported by: cizek@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: MythTV - General Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Trunk 20832 fails to build for me with the following error message:

ThreadedFileWriter.cpp: In member function 'void ThreadedFileWriter::Sync()':
ThreadedFileWriter.cpp:379: error: 'SYNC_FILE_RANGE_WRITE' was not declared in this scope

Attachments (1)

200-Fix.ThreadedFileWriter.patch (854 bytes) - added by cizek@… 15 years ago.

Download all attachments as: .zip

Change History (3)

Changed 15 years ago by cizek@…

comment:1 Changed 15 years ago by Janne Grunau

Resolution: fixed
Status: newclosed

(In [20833]) define SYNC_FILE_RANGE_WRITE if !HAVE_SYNC_FILE_RANGE. Fixes #6698

comment:2 Changed 15 years ago by Janne Grunau

(In [20834]) use preprocessor if instead of C if for HAVE_SYNC_FILE_RANGE, HAVE_POSIX_FADVISE and HAVE_FDATASYNC. Refs #6691, Refs #6698

Note: See TracTickets for help on using tickets.