2003-06-26 Tim Waugh <twaugh@redhat.com>

* src/ImgManip.py: Seems to need the SIGCHLD handler resetting here
        to prevent EINTR causing traceback.


svn: r1788
This commit is contained in:
Tim Waugh 2003-06-26 22:20:48 +00:00
parent 9d7ad535e3
commit 95ab5bcaea
2 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,6 @@
2003-06-26 Tim Waugh <twaugh@redhat.com>
* src/ImgManip.py: Seems to need the SIGCHLD handler resetting here
to prevent EINTR causing traceback.
* src/plugins/Ancestors.py: Cite sources.
2003-06-26 Don Allingham <dallingham@users.sourceforge.net>

View File

@ -20,6 +20,7 @@
import os
import const
import signal
#-------------------------------------------------------------------------
#
@ -66,6 +67,7 @@ class ImgManip:
def fmt_scale_data(self,x,y,cnv):
cmd = "%s -geometry %dx%d '%s' '%s:-'" % (const.convert,x,y,self.src,cnv)
signal.signal (signal.SIGCHLD, signal.SIG_DFL)
r,w = popen2.popen2(cmd)
buf = r.read()
r.close()