Marc-André Lureau 4b5d762d5d win32: handle ERROR_MORE_DATA
If a named pipe is being read in message mode and the next message is
longer than the nNumberOfBytesToRead parameter specifies, ReadFile
returns FALSE and GetLastError returns ERROR_MORE_DATA.

Since the API doesn't allow to return both a GError and the number of
bytes read so far, it makes more sense to return nread, and let the
client call GetLastError() himself to check if ERROR_MORE_DATA.

The current alternative loses the nread information.

https://bugzilla.gnome.org/show_bug.cgi?id=679288
2012-08-20 17:10:31 +02:00
..
2012-03-05 06:18:24 -05:00
2012-08-16 23:23:16 -04:00
2012-08-19 02:27:04 -04:00
2012-08-16 22:17:46 -04:00
2011-09-04 17:50:41 -04:00
2011-06-04 10:45:54 -04:00
2009-03-31 19:39:16 -04:00
2012-02-02 16:22:42 +01:00
2010-07-12 18:30:14 -04:00
2012-07-03 21:14:41 -04:00
2012-07-03 21:13:32 -04:00
2012-07-03 21:13:32 -04:00
2010-07-05 00:56:12 -04:00
2010-03-26 09:30:25 -04:00
2010-07-12 18:30:14 -04:00
2010-07-12 18:30:14 -04:00
2010-07-12 18:30:14 -04:00
2012-08-16 23:02:41 -04:00
2012-04-30 09:28:42 -04:00
2012-08-18 23:15:58 -04:00
2010-07-07 19:53:22 -04:00
2012-07-30 05:01:06 -04:00
2012-03-27 12:45:27 -04:00
2012-08-16 23:02:41 -04:00
2012-01-01 19:01:14 +01:00
2012-04-19 10:06:26 +02:00
2011-06-07 08:55:31 +08:00
2012-08-18 23:15:58 -04:00
2011-08-29 14:49:32 -04:00
2012-04-19 10:06:26 +02:00
2012-07-03 21:14:41 -04:00
2010-07-07 19:53:22 -04:00
2011-02-08 10:05:00 -05:00
2011-12-08 18:05:12 -05:00
2012-02-18 09:22:31 +00:00
2011-12-10 21:46:39 -05:00
2011-02-08 10:05:00 -05:00
2012-08-19 02:19:27 -04:00
2010-06-04 19:03:38 +02:00
2012-08-19 02:21:02 -04:00
2012-08-19 02:21:02 -04:00
2011-06-04 18:48:19 -04:00
2012-08-18 23:15:58 -04:00
2012-06-23 17:59:37 -04:00
2012-01-13 17:12:57 +01:00
2011-01-09 21:45:20 +01:00
2011-08-29 14:49:32 -04:00
2010-04-16 23:23:40 -04:00
2011-12-08 18:05:14 -05:00
2012-08-16 23:02:41 -04:00
2012-08-16 23:02:41 -04:00
2012-08-16 23:02:41 -04:00
2011-10-16 21:41:15 -04:00
2012-08-17 19:22:43 +08:00
2012-04-19 10:06:26 +02:00
2011-10-02 22:33:10 -04:00
2011-06-14 18:51:57 -04:00
2011-05-05 14:09:11 -04:00
2012-06-04 06:04:28 -04:00
2009-07-05 22:35:55 -04:00
2012-07-03 21:14:41 -04:00
2011-08-29 14:49:32 -04:00
2012-08-18 23:15:58 -04:00
2010-07-07 19:53:22 -04:00