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.
This commit is contained in:
Sebastian Wilhelmi 2000-03-20 13:19:20 +00:00 committed by Sebastian Wilhelmi
parent 5e7134375e
commit 692ce67892
10 changed files with 44 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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.
2000-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2000-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Added the missing POSIX_NO_YIELD and * configure.in: Added the missing POSIX_NO_YIELD and

View File

@ -1,3 +1,8 @@
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.
2000-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2000-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Added the missing POSIX_NO_YIELD and * configure.in: Added the missing POSIX_NO_YIELD and

View File

@ -1,3 +1,8 @@
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.
2000-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2000-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Added the missing POSIX_NO_YIELD and * configure.in: Added the missing POSIX_NO_YIELD and

View File

@ -1,3 +1,8 @@
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.
2000-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2000-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Added the missing POSIX_NO_YIELD and * configure.in: Added the missing POSIX_NO_YIELD and

View File

@ -1,3 +1,8 @@
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.
2000-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2000-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Added the missing POSIX_NO_YIELD and * configure.in: Added the missing POSIX_NO_YIELD and

View File

@ -1,3 +1,8 @@
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.
2000-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2000-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Added the missing POSIX_NO_YIELD and * configure.in: Added the missing POSIX_NO_YIELD and

View File

@ -1,3 +1,8 @@
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.
2000-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2000-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Added the missing POSIX_NO_YIELD and * configure.in: Added the missing POSIX_NO_YIELD and

View File

@ -1,3 +1,8 @@
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.
2000-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de> 2000-03-17 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* configure.in: Added the missing POSIX_NO_YIELD and * configure.in: Added the missing POSIX_NO_YIELD and

View File

@ -166,6 +166,7 @@ g_io_unix_read (GIOChannel *channel,
case EINVAL: case EINVAL:
return G_IO_ERROR_INVAL; return G_IO_ERROR_INVAL;
case EAGAIN: case EAGAIN:
case EINTR:
return G_IO_ERROR_AGAIN; return G_IO_ERROR_AGAIN;
default: default:
return G_IO_ERROR_UNKNOWN; return G_IO_ERROR_UNKNOWN;
@ -197,6 +198,7 @@ g_io_unix_write(GIOChannel *channel,
case EINVAL: case EINVAL:
return G_IO_ERROR_INVAL; return G_IO_ERROR_INVAL;
case EAGAIN: case EAGAIN:
case EINTR:
return G_IO_ERROR_AGAIN; return G_IO_ERROR_AGAIN;
default: default:
return G_IO_ERROR_UNKNOWN; return G_IO_ERROR_UNKNOWN;

View File

@ -166,6 +166,7 @@ g_io_unix_read (GIOChannel *channel,
case EINVAL: case EINVAL:
return G_IO_ERROR_INVAL; return G_IO_ERROR_INVAL;
case EAGAIN: case EAGAIN:
case EINTR:
return G_IO_ERROR_AGAIN; return G_IO_ERROR_AGAIN;
default: default:
return G_IO_ERROR_UNKNOWN; return G_IO_ERROR_UNKNOWN;
@ -197,6 +198,7 @@ g_io_unix_write(GIOChannel *channel,
case EINVAL: case EINVAL:
return G_IO_ERROR_INVAL; return G_IO_ERROR_INVAL;
case EAGAIN: case EAGAIN:
case EINTR:
return G_IO_ERROR_AGAIN; return G_IO_ERROR_AGAIN;
default: default:
return G_IO_ERROR_UNKNOWN; return G_IO_ERROR_UNKNOWN;