mirror of https://github.com/GNOME/gimp.git
handle EINTR while writing.
2004-09-28 Sven Neumann <sven@gimp.org> * app/file/gimprecentlist.c (gimp_recent_list_write_raw): handle EINTR while writing.
This commit is contained in:
parent
734464155f
commit
5ad16c6fcc
|
@ -1,3 +1,8 @@
|
|||
2004-09-28 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/file/gimprecentlist.c (gimp_recent_list_write_raw): handle
|
||||
EINTR while writing.
|
||||
|
||||
2004-09-28 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/config/gimpxmlparser.[ch]: added new convenience function
|
||||
|
|
|
@ -376,7 +376,7 @@ gimp_recent_list_write_raw (gint fd,
|
|||
{
|
||||
gssize written = write (fd, content, remaining);
|
||||
|
||||
if (written < 0)
|
||||
if (written < 0 && errno != EINTR)
|
||||
return FALSE;
|
||||
|
||||
remaining -= written;
|
||||
|
|
Loading…
Reference in New Issue