mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-14 22:51:13 +02:00
2021-05-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in the log rendering engine which caused a segfault when cleaning up temporary files. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -21663,4 +21663,6 @@
|
|||||||
2021-05-11 Fred Gleason <fredg@paravelsystems.com>
|
2021-05-11 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Fixed a bug in rdcastmanager(1) that could cause a segfault
|
* Fixed a bug in rdcastmanager(1) that could cause a segfault
|
||||||
when closing the 'List Feed' dialog.
|
when closing the 'List Feed' dialog.
|
||||||
|
2021-05-11 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Fixed a regression in the log rendering engine which caused
|
||||||
|
a segfault when cleaning up temporary files.
|
||||||
|
@@ -218,8 +218,8 @@ bool __RDRenderLogLine::GetCutFile(const QString &cutname,int start_pt,
|
|||||||
void __RDRenderLogLine::DeleteCutFile(const QString &dest_filename) const
|
void __RDRenderLogLine::DeleteCutFile(const QString &dest_filename) const
|
||||||
{
|
{
|
||||||
unlink(dest_filename.toUtf8());
|
unlink(dest_filename.toUtf8());
|
||||||
QStringList f0=dest_filename.split("/");
|
QStringList f0=dest_filename.split("/",QString::SkipEmptyParts);
|
||||||
f0.erase(f0.end());
|
f0.removeLast();
|
||||||
rmdir(("/"+f0.join("/")).toUtf8());
|
rmdir(("/"+f0.join("/")).toUtf8());
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -636,8 +636,8 @@ bool RDRenderer::ImportCart(const QString &srcfile,unsigned cartnum,int cutnum,
|
|||||||
void RDRenderer::DeleteTempFile(const QString &filename) const
|
void RDRenderer::DeleteTempFile(const QString &filename) const
|
||||||
{
|
{
|
||||||
unlink(filename.toUtf8());
|
unlink(filename.toUtf8());
|
||||||
QStringList f0=filename.split("/");
|
QStringList f0=filename.split("/",QString::SkipEmptyParts);
|
||||||
f0.erase(f0.end());
|
f0.removeLast();
|
||||||
rmdir(("/"+f0.join("/")).toUtf8());
|
rmdir(("/"+f0.join("/")).toUtf8());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user