--- glib-2.28.1/gio/gsocket.c.orig	2011-02-23 12:54:30.448000001 +0000
+++ glib-2.28.1/gio/gsocket.c	2011-02-23 14:44:16.980000001 +0000
@@ -1756,9 +1756,10 @@
  * g_socket_receive().
  *
  * If the socket is in blocking mode the call will block until there is
- * some data to receive or there is an error. If there is no data available
- * and the socket is in non-blocking mode, a %G_IO_ERROR_WOULD_BLOCK error
- * will be returned. To be notified when data is available, wait for the
+ * some data to receive, the remote peer closes the connection or
+ * there is an error. If there is no data available and the socket is
+ * in non-blocking mode, a %G_IO_ERROR_WOULD_BLOCK error will be
+ * returned. To be notified when data is available, wait for the
  * %G_IO_IN condition.
  *
  * On error -1 is returned and @error is set accordingly.
@@ -3181,10 +3182,11 @@
  * sufficiently-large buffer.
  *
  * If the socket is in blocking mode the call will block until there
- * is some data to receive or there is an error. If there is no data
- * available and the socket is in non-blocking mode, a
- * %G_IO_ERROR_WOULD_BLOCK error will be returned. To be notified when
- * data is available, wait for the %G_IO_IN condition.
+ * is some data to receive, the remote peer performs a shutdown or
+ * there is an error. If there is no data available and the socket is
+ * in non-blocking mode, a %G_IO_ERROR_WOULD_BLOCK error will be
+ * returned. To be notified when data is available, wait for the
+ * %G_IO_IN condition.
  *
  * On error -1 is returned and @error is set accordingly.
  *
