1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: Fix evaluation of result returned by Toc::write()
The change to Toc::write() that happened with cdrdao version 1.2.5 was not
considered in CdDevice::recordDao().
Author: Sven Geuer <sge@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100713
Forwarded: https://github.com/cdrdao/cdrdao/pull/34
Last-Update: 2025-03-19
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/gcdmaster/CdDevice.cc
+++ b/gcdmaster/CdDevice.cc
@@ -393,7 +393,7 @@
// Write out temporary toc file containing all the converted wav
// files (don't want to rely on cdrdao doing the mp3->wav
// translation, besides it's already been done).
- if (!tocEdit->toc()->write(tocFileName, true)) {
+ if (tocEdit->toc()->write(tocFileName, true != 0)) {
log_message(-2, _("Cannot write temporary toc-file."));
return false;
}
|