Robert Shearman rob@codeweavers.com writes:
--- a/dlls/ntdll/directory.c +++ b/dlls/ntdll/directory.c @@ -1245,7 +1245,11 @@ static NTSTATUS find_file_in_dir( char * unix_name[pos - 1] = '/'; for (;;) {
if (!de[0].d_reclen) break;
if (!de[0].d_reclen)
{
unix_name[pos - 1] = 0;
break;
We should probably have a 'goto not_found' here instead.