208,209c208,214 < can miss filenames. Use last filename continue instead. JRA */ < SSVAL(param,10,(FLAG_TRANS2_FIND_REQUIRE_RESUME|FLAG_TRANS2_FIND_CLOSE_IF_END)); /* resume required + close on end */ --- > can miss filenames. Use last filename continue instead. JRA */ > if (strcmp(cli->server_os,"Windows 5.1")==0) { > /* But we still need this flag for WIN XP SP2 machines */ > SSVAL(param,10,(FLAG_TRANS2_FIND_CONTINUE|FLAG_TRANS2_FIND_REQUIRE_RESUME|FLAG_TRANS2_FIND_CLOSE_IF_END)); > } else { > SSVAL(param,10,(FLAG_TRANS2_FIND_REQUIRE_RESUME|FLAG_TRANS2_FIND_CLOSE_IF_END)); /* resume required + close on end */ > }