Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#9252 closed Patch - Bug Fix (Fixed)

[PATHCH] commit r27283 breaks libmyth compile for Windows

Reported by: Lawrence Rust <lvr@…> Owned by: danielk
Priority: minor Milestone: 0.25
Component: MythTV - General Version: Master Head
Severity: medium Keywords: Windows posix_fadvise
Cc: Ticket locked: no


The recent commit r27283 added calls to posix_fadvise() in libmythtv/RingBuffer.cpp and libmythtv/ThreadedFileWriter.cpp but in systems without HAVE_POSIX_FADVISE, such as Win32, then the constants passed to this function are undefined. The attached patch fixes this.

Attachments (1)

fadvise,diff (925 bytes) - added by Lawrence Rust <lvr@…> 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by Lawrence Rust <lvr@…>

Attachment: fadvise,diff added

comment:1 Changed 11 years ago by Kenni Lund [kenni a kelu dot dk]

Owner: set to danielk
Status: newassigned

comment:2 Changed 11 years ago by danielk

Resolution: Fixed
Status: assignedclosed

(In [27286]) Fixes #9252. Refs #9150. Fix compile where fadvise is not supported.

comment:3 Changed 11 years ago by Kenni Lund [kenni a kelu dot dk]

Milestone: unknown0.25
Note: See TracTickets for help on using tickets.