Commit 5ad16c6f authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

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.
parent 73446415
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment