• Michael Natterer's avatar
    After a weekend of extensive mail exchange with the signal crew, we · 3fc6d56d
    Michael Natterer authored
    2000-05-14  Michael Natterer  <mitch@gimp.org>
    
    	After a weekend of extensive mail exchange with the signal crew,
    	we finally found that #2742 is not a Gimp bug but a real OSF/1
    	bug. OSF/1 does _not_ reliably restart read() and write() calls
    	on certain slow devices (pipes).
    
    	* libgimp/gimpwire.[ch]: guard all read/write calls on the wire
    	with loops checking for EINTR. This has to be done "manually"
    	as glib's GIOChannels return G_IO_ERROR_UNKNOWN on the occurence
    	of EINTR (which is a bug, too).
    	s/int/gboolean and minor cleanups while I was on it (not changing
    	any logic).
    
    	This fix depends on the current (broken) state of the GIOChannel
    	implementation and is scheduled for removal as soon as glib
    	behaves nicely here.
    
    	Left SA_RESTART there for the moment in app/main.c. See it as
    	defensive programming or just my fear to change two #2742-related
    	places at the same time. We might choose to remove SA_RESTART
    	later. Many thanks again to Austin, Garry and Tim.
    3fc6d56d
Name
Last commit
Last update
RPM Loading commit data...
app Loading commit data...
cursors Loading commit data...
data Loading commit data...
debian Loading commit data...
devel-docs Loading commit data...
docs Loading commit data...
etc Loading commit data...
help Loading commit data...
libgimp Loading commit data...
libgimpbase Loading commit data...
libgimpwidgets Loading commit data...
modules Loading commit data...
pixmaps Loading commit data...
plug-ins Loading commit data...
po Loading commit data...
po-libgimp Loading commit data...
po-plug-ins Loading commit data...
po-script-fu Loading commit data...
tips Loading commit data...
tools Loading commit data...
.cvsignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
ChangeLog.plug-ins Loading commit data...
ChangeLog.pre-1-0 Loading commit data...
HACKING Loading commit data...
INSTALL Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
PLUGIN_CVS Loading commit data...
PLUGIN_MAINTAINERS Loading commit data...
README Loading commit data...
README.i18n Loading commit data...
README.patch_xinput_airbrush Loading commit data...
README.perl Loading commit data...
README.win32 Loading commit data...
TODO Loading commit data...
acconfig.h Loading commit data...
acinclude.m4 Loading commit data...
autogen.sh Loading commit data...
config.guess Loading commit data...
config.h.in Loading commit data...
config.h.win32 Loading commit data...
config.sub Loading commit data...
configure.in Loading commit data...
gimp.1 Loading commit data...
gimp.m4 Loading commit data...
gimp.spec Loading commit data...
gimp1_0_splash.ppm Loading commit data...
gimp_logo.ppm Loading commit data...
gimp_splash.ppm Loading commit data...
gimprc-1.2.5.in Loading commit data...
gimprc.5.in Loading commit data...
gimprc.in Loading commit data...
gimprc.win32 Loading commit data...
gimprc_user.in Loading commit data...
gimptool-1.2.in Loading commit data...
gimptool.1 Loading commit data...
gimptool.in Loading commit data...
gtkrc Loading commit data...
ltconfig Loading commit data...
ltmain.sh Loading commit data...
patch_xinput_airbrush Loading commit data...
ps-menurc Loading commit data...
rmshm Loading commit data...
unitrc Loading commit data...
user_install Loading commit data...
user_install.bat Loading commit data...