public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in media-video/shrip/files: shrip-0.5.0-wur.patch
@ 2009-07-22 19:10 Gordon Malm (gengor)
  0 siblings, 0 replies; 2+ messages in thread
From: Gordon Malm (gengor) @ 2009-07-22 19:10 UTC (permalink / raw
  To: gentoo-commits

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;






^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in media-video/shrip/files: shrip-0.5.0-wur.patch
@ 2010-04-26 19:20 Samuli Suominen (ssuominen)
  0 siblings, 0 replies; 2+ messages in thread
From: Samuli Suominen (ssuominen) @ 2010-04-26 19:20 UTC (permalink / raw
  To: gentoo-commits

ssuominen    10/04/26 19:20:11

  Removed:              shrip-0.5.0-wur.patch
  Log:
  Version bump.
  (Portage version: 2.2_rc67/cvs/Linux x86_64)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-04-26 19:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-22 19:10 [gentoo-commits] gentoo-x86 commit in media-video/shrip/files: shrip-0.5.0-wur.patch Gordon Malm (gengor)
  -- strict thread matches above, loose matches on Subject: below --
2010-04-26 19:20 Samuli Suominen (ssuominen)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox