initialize local variable wait_return

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Wed May 4 06:03:00 GMT 2011


On Wed, May 04, 2011 at 11:11:52AM +0800, Chiheng Xu wrote:
>2011-05-04  Chiheng Xu  <chiheng.xu@gmail.com>
>
>       * fhandler.cc (fhandler_base_overlapped::wait_overlapped): initialize
>local variable wait_return , otherwise, gcc-4.3.4 will not compile it.

Sorry but this is the wrong solution to this problem.  I rewrote the
code recently to carefully set error conditions at each decision point.
Globally setting it at the beginning is a step backwards and it actually
masks the real problem.

cgf



More information about the Cygwin-patches mailing list