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: | 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)
by , 16 years ago
| Attachment: | fadvise,diff added |
|---|
comment:1 by , 16 years ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:2 by , 16 years ago
| Resolution: | → Fixed |
|---|---|
| Status: | assigned → closed |
comment:3 by , 16 years ago
| 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.