pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/36141 (graphics/gthumb Solaris10 amd64 gcc)
> From: snj%NetBSD.org@localhost
> To: solaris-pkg-people%NetBSD.org@localhost,
> pkg-manager%NetBSD.org@localhost,
pkgsrc-bugs%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
snj%NetBSD.org@localhost, "Gilles Dauphin"
<dauphin%enst.fr@localhost>
> Subject: Re: pkg/36141 (graphics/gthumb Solaris10 amd64 gcc)
> X-Gnats-Was-Stupid: no
> Cc:
> Date: Thu, 12 Apr 2007 14:07:37 +0000 (UTC)
>
> Synopsis: graphics/gthumb Solaris10 amd64 gcc
>
> Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
> Responsible-Changed-By: snj%netbsd.org@localhost
> Responsible-Changed-When: Thu, 12 Apr 2007 14:07:36 +0000
> Responsible-Changed-Why:
> Solaris problem.
Is this patch correct?
--- libgthumb/file-utils.c.orig Tue Apr 10 09:50:23 2007
+++ libgthumb/file-utils.c Thu Apr 12 16:08:01 2007
@@ -2209,11 +2209,13 @@
{
char *tmppath;
char *retval;
+ int status;
tmppath = (char*) g_build_filename (g_get_tmp_dir (), "gthumb.XXXXXX",
NULL);
- retval = mkdtemp (tmppath);
- if (retval == NULL)
+ retval = mktemp(tmppath);
+ status = mkdir (retval,0700);
+ if (status != 0)
g_free(tmppath);
return retval;
Home |
Main Index |
Thread Index |
Old Index