# # # patch "ChangeLog" # from [16b731037f6777690487f049aecf18433464010c] # to [7a0eb7f7c256403027c14a0e578ca26b19c036e2] # # patch "netxx_pipe.cc" # from [a098571de2085b786d60411a54d767d46af5b22a] # to [de563b49e4d6430a5f86c0e2f817d2db178acf6d] # ============================================================ --- ChangeLog 16b731037f6777690487f049aecf18433464010c +++ ChangeLog 7a0eb7f7c256403027c14a0e578ca26b19c036e2 @@ -1,3 +1,8 @@ +2006-06-07 Graydon Hoare + + * netxx_pipe.cc (simple_pipe_test): Attempt to fix broken unit + test. + 2006-06-05 Graydon Hoare * sanity.{cc,hh}: Specialize formatters to number types. ============================================================ --- netxx_pipe.cc a098571de2085b786d60411a54d767d46af5b22a +++ netxx_pipe.cc de563b49e4d6430a5f86c0e2f817d2db178acf6d @@ -545,8 +545,12 @@ probe.clear(); probe.add(pipe, Netxx::Probe::ready_write); res = probe.ready(short_time); - I(res.second&Netxx::Probe::ready_write); + I(res.second & Netxx::Probe::ready_write); +#ifdef WIN32 + I(res.first==pipe.get_socketfd()); +#else I(res.first==pipe.get_writefd()); +#endif // try binary transparency for (int c = 0; c < 256; ++c)