Opened 14 years ago
Closed 14 years ago
Last modified 14 years ago
#9252 closed Patch - Bug Fix (Fixed)
[PATHCH] commit r27283 breaks libmyth compile for Windows
Reported by: | 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)
Change History (4)
Changed 14 years ago by
Attachment: | fadvise,diff added |
---|
comment:1 Changed 14 years ago by
Owner: | set to danielk |
---|---|
Status: | new → assigned |
comment:2 Changed 14 years ago by
Resolution: | → Fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed 14 years ago by
Milestone: | unknown → 0.25 |
---|
Note: See
TracTickets for help on using
tickets.
(In [27286]) Fixes #9252. Refs #9150. Fix compile where fadvise is not supported.