From: "Gordon Malm (gengor)" <gengor@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in media-video/shrip/files: shrip-0.5.0-wur.patch
Date: Wed, 22 Jul 2009 19:10:05 +0000 [thread overview]
Message-ID: <E1MThCX-0006Q2-Vy@stork.gentoo.org> (raw)
gengor 09/07/22 19:10:05
Added: shrip-0.5.0-wur.patch
Log:
Fix bug 251367, work around 260847, adjust deps for 278726.
(Portage version: 2.1.6.13/cvs/Linux i686)
Revision Changes Path
1.1 media-video/shrip/files/shrip-0.5.0-wur.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/shrip/files/shrip-0.5.0-wur.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/shrip/files/shrip-0.5.0-wur.patch?rev=1.1&content-type=text/plain
Index: shrip-0.5.0-wur.patch
===================================================================
Gentoo Bug #251367 : http://bugs.gentoo.org/show_bug.cgi?id=251367
--- src/shrip-common.c
+++ src/shrip-common.c
@@ -1567,13 +1567,14 @@
gchar *cwd, *message;
gint result;
+ cwd = g_get_current_dir ();
+ if (chdir (ogmrip_fs_get_tmp_dir ()) < 0)
+ return OGMJOB_RESULT_ERROR;
+
message = g_strdup (_("Merging audio and video streams"));
g_signal_connect (container, "progress", G_CALLBACK (progress), message);
g_signal_connect (container, "run", G_CALLBACK (run), NULL);
- cwd = g_get_current_dir ();
- chdir (ogmrip_fs_get_tmp_dir ());
-
spawn = OGMJOB_SPAWN (container);
result = ogmjob_spawn_run (OGMJOB_SPAWN (container), &tmp_error);
spawn = NULL;
@@ -1584,7 +1585,9 @@
if (tmp_error)
g_propagate_error (error, tmp_error);
- chdir (cwd);
+ if (chdir (cwd) < 0)
+ result = OGMJOB_RESULT_ERROR;
+
g_free (cwd);
return result;
next reply other threads:[~2009-07-22 19:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-22 19:10 Gordon Malm (gengor) [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-04-26 19:20 [gentoo-commits] gentoo-x86 commit in media-video/shrip/files: shrip-0.5.0-wur.patch Samuli Suominen (ssuominen)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1MThCX-0006Q2-Vy@stork.gentoo.org \
--to=gengor@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox