mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-30 17:20:32 +01:00
2021-02-23 Fred Gleason <fredg@paravelsystems.com>
* Removed the Qt3Support library from the build system. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -61,9 +61,9 @@ bool RDTempDirectory::create(QString *err_msg)
|
||||
{
|
||||
char tempdir[PATH_MAX];
|
||||
|
||||
strncpy(tempdir,RDTempDirectory::basePath(),PATH_MAX);
|
||||
strncpy(tempdir,RDTempDirectory::basePath().toUtf8(),PATH_MAX);
|
||||
strncat(tempdir,"/",PATH_MAX-strlen(tempdir));
|
||||
strncat(tempdir,temp_base_name,PATH_MAX-strlen(tempdir));
|
||||
strncat(tempdir,temp_base_name.toUtf8(),PATH_MAX-strlen(tempdir));
|
||||
strncat(tempdir,"XXXXXX",PATH_MAX-strlen(tempdir));
|
||||
if(mkdtemp(tempdir)==NULL) {
|
||||
*err_msg=strerror(errno);
|
||||
|
||||
Reference in New Issue
Block a user