Buzz wrote: > > Hi All. I'm working on a solution to this thread and have got the > following steps working in my code (diff attached): > > 1) OS sends SIGXFSZ to mythbackend > 2) backend captures said signal, squirrels it into a global called > "LastSignal", so anyone who wants to can look for it. (yes, I know globals > are bad, but signal handlers are worse.) > > IE: How do I make everything else recognise that the recording of this file > has aborted/failed? > > Am I doing the right thing here... Or is there an easier way? > Just ignore the signal - write will return EFBIG and the recording should follow the usual failure path. You should be able to test it with ulimit -f, that will allow you to generate SIGXFSZ with smaller files.
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
