Bug#67259: mpg123 doesn't fail cleanly on "no space left on device"

Thomas Orgis thomas-forum at orgis.org
Tue Apr 3 07:56:38 UTC 2012


I'm having a go at the nearly 12-year-old bug.

There is a fix in mpg123 trunk now. At least you get an error message now when the file cannot be flushed to disk. It results in mpg123 aborting with non-zero exit code only when the file header (or at least a single byte at the beginning) cannot be flushed. When the out-of-disk occurs later, you get the error message from a final flush on closing the file, but the return value of that is not handled (would be some PITA to add that).

Perhaps I'll consider dropping usage of STDIO from the file writer, since adding fflush() all around to detect the condition earlier kindof defeats the idea of buffered streams. Anyhow, the user is informed with the next major mpg123 release and that is hopefully enough to close this bug.


Alrighty then,

Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20120403/496c62b2/attachment-0001.pgp>


More information about the pkg-multimedia-maintainers mailing list