diff options
author | Sebastian Wilhelmi <wilhelmi@ira.uka.de> | 2000-03-20 13:19:20 +0000 |
---|---|---|
committer | Sebastian Wilhelmi <wilhelmi@src.gnome.org> | 2000-03-20 13:19:20 +0000 |
commit | 692ce678922891f6e6f74c4b61461a64e67854a4 (patch) | |
tree | dbc988e690987981bf9947a90c6bb506b323b23d /glib/giounix.c | |
parent | 5e7134375eea0543c998715e03a458411906e89c (diff) | |
download | glib-692ce678922891f6e6f74c4b61461a64e67854a4.tar.gz |
Interpret EINTR as G_IO_ERROR_AGAIN.
2000-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* giounix.c (g_io_unix_write, g_io_unix_read): Interpret EINTR as
G_IO_ERROR_AGAIN.
Diffstat (limited to 'glib/giounix.c')
-rw-r--r-- | glib/giounix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/glib/giounix.c b/glib/giounix.c index 108527516..0f9b4614e 100644 --- a/glib/giounix.c +++ b/glib/giounix.c @@ -166,6 +166,7 @@ g_io_unix_read (GIOChannel *channel, case EINVAL: return G_IO_ERROR_INVAL; case EAGAIN: + case EINTR: return G_IO_ERROR_AGAIN; default: return G_IO_ERROR_UNKNOWN; @@ -197,6 +198,7 @@ g_io_unix_write(GIOChannel *channel, case EINVAL: return G_IO_ERROR_INVAL; case EAGAIN: + case EINTR: return G_IO_ERROR_AGAIN; default: return G_IO_ERROR_UNKNOWN; |