]> git.saurik.com Git - wxWidgets.git/commit - src/gtk/evtloop.cpp
Treat G_IO_HUP as read, not error, event because EOF is not exceptional.
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Jul 2013 00:31:26 +0000 (00:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Jul 2013 00:31:26 +0000 (00:31 +0000)
commitc36ddebf93ff3f967927d628dd0e569c75159c37
treefde0efdbbfd8e558311bed06952e506f1290a941
parentd5ab427f23dad393d9d867afeb1af3892ce00f3b
Treat G_IO_HUP as read, not error, event because EOF is not exceptional.

When EOF is reached on a file descriptor, call the handler OnReadWaiting()
because this is not really different from getting to the EOF while reading
data in the same function. Only call OnExceptionWaiting() for the real errors.

See #10258.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/evtloop.cpp