[Python-modules-commits] r14187 - in packages/skype4py/trunk/debian (4 files)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Thu Aug 12 09:49:33 UTC 2010


    Date: Thursday, August 12, 2010 @ 09:49:29
  Author: jwilk
Revision: 14187

Fix crash when trying to run skype (closes: #578327).

Added:
  packages/skype4py/trunk/debian/patches/
  packages/skype4py/trunk/debian/patches/execlp.diff
  packages/skype4py/trunk/debian/patches/series
Modified:
  packages/skype4py/trunk/debian/changelog

Modified: packages/skype4py/trunk/debian/changelog
===================================================================
--- packages/skype4py/trunk/debian/changelog	2010-08-12 09:44:59 UTC (rev 14186)
+++ packages/skype4py/trunk/debian/changelog	2010-08-12 09:49:29 UTC (rev 14187)
@@ -6,6 +6,7 @@
   * Switch to source format 3.0 (quilt).
   * Automatically generate dependencies on python and python-support
     (closes: #592490)
+  * Fix crash when trying to run skype (closes: #578327).
 
  -- Jakub Wilk <jwilk at debian.org>  Thu, 12 Aug 2010 11:42:28 +0200
 

Added: packages/skype4py/trunk/debian/patches/execlp.diff
===================================================================
--- packages/skype4py/trunk/debian/patches/execlp.diff	                        (rev 0)
+++ packages/skype4py/trunk/debian/patches/execlp.diff	2010-08-12 09:49:29 UTC (rev 14187)
@@ -0,0 +1,27 @@
+Description: os.execlp takes at least two arguments.
+  When called with just one arg, it would crash or raise an exception.
+Author: Jakub Wilk <jwilk at debian.org>
+Bug-Debian: http://bugs.debian.org/578327
+
+--- a/Skype4Py/API/posix_dbus.py
++++ b/Skype4Py/API/posix_dbus.py
+@@ -164,7 +164,7 @@
+             import os
+             if os.fork() == 0: # we're child
+                 os.setsid()
+-                os.execlp('skype')
++                os.execlp('skype', 'skype')
+ 
+     def Shutdown(self):
+         import os
+--- a/Skype4Py/API/posix_x11.py
++++ b/Skype4Py/API/posix_x11.py
+@@ -357,7 +357,7 @@
+             import os
+             if os.fork() == 0: # we're the child
+                 os.setsid()
+-                os.execlp('skype')
++                os.execlp('skype', 'skype')
+ 
+     def Shutdown(self):
+         import os

Added: packages/skype4py/trunk/debian/patches/series
===================================================================
--- packages/skype4py/trunk/debian/patches/series	                        (rev 0)
+++ packages/skype4py/trunk/debian/patches/series	2010-08-12 09:49:29 UTC (rev 14187)
@@ -0,0 +1 @@
+execlp.diff




More information about the Python-modules-commits mailing list