Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
a8745ea3
Commit
a8745ea3
authored
Dec 02, 1998
by
Alexander Larsson
Committed by
Alexandre Julliard
Dec 02, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Opening a file in a directory which doesn't exist returns
ERROR_FILE_NOT_FOUND instead of ERROR_PATH_NOT_FOUND.
parent
88065baf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dos_fs.c
files/dos_fs.c
+4
-4
No files found.
files/dos_fs.c
View file @
a8745ea3
...
...
@@ -824,14 +824,14 @@ BOOL32 DOSFS_GetFullName( LPCSTR name, BOOL32 check_last, DOS_FULL_NAME *full )
if
(
!
found
)
{
if
(
check_last
)
if
(
*
name
)
/* Not last */
{
DOS_ERROR
(
ER_
File
NotFound
,
EC_NotFound
,
SA_Abort
,
EL_Disk
);
DOS_ERROR
(
ER_
Path
NotFound
,
EC_NotFound
,
SA_Abort
,
EL_Disk
);
return
FALSE
;
}
if
(
*
name
)
/* Not last */
if
(
check_last
)
{
DOS_ERROR
(
ER_
Path
NotFound
,
EC_NotFound
,
SA_Abort
,
EL_Disk
);
DOS_ERROR
(
ER_
File
NotFound
,
EC_NotFound
,
SA_Abort
,
EL_Disk
);
return
FALSE
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment