Piotr Caban piotr@codeweavers.com writes:
diff --git a/server/protocol.def b/server/protocol.def index 6245f4c..29a4c7a 100644 --- a/server/protocol.def +++ b/server/protocol.def @@ -1449,6 +1449,7 @@ enum char_info_mode obj_handle_t handle; @REPLY int action; /* type of change */
- int next_length; /* next file name length */ VARARG(name,string); /* name of directory entry that changed */
@END
Returning the next length won't work, because there's no guarantee that it will be the same file that we return the next time around, there can be multiple threads watching that handle.