Ticket #4734: TFW_chk_no_writes.diff

File TFW_chk_no_writes.diff, 432 bytes (added by Shane Shrybman <gnome42@…>, 16 years ago)
  • libs/libmythtv/ThreadedFileWriter.cpp

    diff --git a/libs/libmythtv/ThreadedFileWriter.cpp b/libs/libmythtv/ThreadedFileWriter.cpp
    index 682341d..1ac2302 100644
    a b uint ThreadedFileWriter::Write(const void *data, uint count) 
    202202
    203203    bool first = true;
    204204
    205     while (count > BufFree())
     205    while (!no_writes && count > BufFree())
    206206    {
    207207        if (first)
    208208        {