diff options
Diffstat (limited to 'extra/source/kde3-compat/arts/arts.tmpdir.diff')
-rw-r--r-- | extra/source/kde3-compat/arts/arts.tmpdir.diff | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/extra/source/kde3-compat/arts/arts.tmpdir.diff b/extra/source/kde3-compat/arts/arts.tmpdir.diff deleted file mode 100644 index f50472a1..00000000 --- a/extra/source/kde3-compat/arts/arts.tmpdir.diff +++ /dev/null @@ -1,17 +0,0 @@ ---- ./mcop/mcoputils.cc.orig 2006-01-19 10:16:08.000000000 -0600 -+++ ./mcop/mcoputils.cc 2006-09-19 17:07:50.000000000 -0500 -@@ -47,7 +47,13 @@ - result = lstat(tmp_dir, &stat_buf); - if ((result == -1) && (errno == ENOENT)) - { -- return 1; -+ result = mkdir(tmp_dir, 0700); -+ if (result == -1) -+ { -+ arts_warning("Error: Can not create directory \"%s\".\n", tmp_dir); -+ return 1; -+ } -+ result = stat(tmp_dir, &stat_buf); - } - if ((result == -1) || (!S_ISDIR(stat_buf.st_mode))) - { |