Opened 16 years ago

Closed 16 years ago

Last modified 16 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

Description

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@…> 16 years ago.

Download all attachments as: .zip

Change History (4)

by Lawrence Rust <lvr@…>, 16 years ago

Attachment: fadvise,diff added

comment:1 by Kenni Lund [kenni a kelu dot dk], 16 years ago

Owner: set to danielk
Status: newassigned

comment:2 by danielk, 16 years ago

Resolution: Fixed
Status: assignedclosed

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

comment:3 by Kenni Lund [kenni a kelu dot dk], 16 years ago

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