mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 13:10:28 +00:00
Reverted previous patch.
This commit is contained in:
parent
8ccb0a54c3
commit
2772a67c7d
@ -824,16 +824,16 @@ BOOL32 DOSFS_GetFullName( LPCSTR name, BOOL32 check_last, DOS_FULL_NAME *full )
|
||||
|
||||
if (!found)
|
||||
{
|
||||
if (*name) /* Not last */
|
||||
{
|
||||
DOS_ERROR( ER_PathNotFound, EC_NotFound, SA_Abort, EL_Disk );
|
||||
return FALSE;
|
||||
}
|
||||
if (check_last)
|
||||
{
|
||||
DOS_ERROR( ER_FileNotFound, EC_NotFound, SA_Abort, EL_Disk );
|
||||
return FALSE;
|
||||
}
|
||||
if (*name) /* Not last */
|
||||
{
|
||||
DOS_ERROR( ER_PathNotFound, EC_NotFound, SA_Abort, EL_Disk );
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
if (!full->long_name[0]) strcpy( full->long_name, "/" );
|
||||
if (!full->short_name[2]) strcpy( full->short_name + 2, "\\" );
|
||||
|
Loading…
Reference in New Issue
Block a user