trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: August 2010

Re: [trinity-devel] KDE Arts Patch

From: "Timothy Pearson" <kb9vqf@...>
Date: Tue, 24 Aug 2010 22:20:51 -0500
Committed to SVN in revision 1167610.

Thanks!

Tim

> Enclosed is a patch for kde arts. The patch has been part of Slackware for
> the past four years. I compared the text to the svn tree and do not find
> the patch.
>
> From the Sept. 19, 2006 change log:
>
> Tue Sep 19 18:13:09 CDT 2006
> l/arts-1.5.4-i486-2.tgz:  Patched an annoying bug where audio programs
> such as ogg123 would not work unless KDE had been run first.
>
> The date in the change log matches the date in the patch file.
>
> Feel free to include the patch.
>
> ==========================================
> --- ./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)))
>    {
> ==========================================
>
>
>
>