mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-05-29 07:02:34 +02:00
2021-06-01 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compile warnings in nextgen_filter(1). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
eb5bb116f3
commit
53918da9a8
@ -21812,3 +21812,5 @@
|
||||
'lib/rdweb.[cpp|h]'.
|
||||
2021-06-01 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Cleaned up compile warnings in caed(8).
|
||||
2021-06-01 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Cleaned up compile warnings in nextgen_filter(1).
|
||||
|
@ -176,7 +176,7 @@ MainObject::MainObject(QObject *parent)
|
||||
// Create Temp Directory
|
||||
//
|
||||
strncpy(tempdir,(RDTempDirectory::basePath()+"/nexgen_filterXXXXXX").toUtf8(),
|
||||
PATH_MAX);
|
||||
PATH_MAX-1);
|
||||
filter_temp_dir=new QDir(mkdtemp(tempdir));
|
||||
filter_temp_audiofile=filter_temp_dir->canonicalPath()+"/audio.dat";
|
||||
|
||||
@ -269,10 +269,10 @@ void MainObject::ProcessArchive(const QString &filename)
|
||||
}
|
||||
for(uint32_t i=blksize;i<len;i+=blksize) {
|
||||
n=read(fd_in,data,blksize);
|
||||
write(fd_out,data,n);
|
||||
RDCheckExitCode("ProcessArchive() write",write(fd_out,data,n));
|
||||
}
|
||||
n=read(fd_in,data,len%blksize);
|
||||
write(fd_out,data,n);
|
||||
RDCheckExitCode("ProcessArchive() write",write(fd_out,data,n));
|
||||
close(fd_out);
|
||||
}
|
||||
close(fd_in);
|
||||
|
Loading…
x
Reference in New Issue
Block a user