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
d87a8abb
Commit
d87a8abb
authored
Oct 13, 1999
by
Marcus Meissner
Committed by
Alexandre Julliard
Oct 13, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replicate CreateDirectory() LastError workaround for the LFN part.
parent
229a28fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
int21.c
msdos/int21.c
+15
-0
No files found.
msdos/int21.c
View file @
d87a8abb
...
@@ -2105,6 +2105,21 @@ void WINAPI DOS3Call( CONTEXT86 *context )
...
@@ -2105,6 +2105,21 @@ void WINAPI DOS3Call( CONTEXT86 *context )
bSetDOSExtendedError
=
(
!
CreateDirectoryA
(
bSetDOSExtendedError
=
(
!
CreateDirectoryA
(
CTX_SEG_OFF_TO_LIN
(
context
,
DS_reg
(
context
),
CTX_SEG_OFF_TO_LIN
(
context
,
DS_reg
(
context
),
EDX_reg
(
context
)
),
NULL
));
EDX_reg
(
context
)
),
NULL
));
/* FIXME: CreateDirectory's LastErrors will clash with the ones
* used by dos. AH=39 only returns 3 (path not found) and 5 (access
* denied), while CreateDirectory return several ones. remap some of
* them. -Marcus
*/
if
(
bSetDOSExtendedError
)
{
switch
(
GetLastError
())
{
case
ERROR_ALREADY_EXISTS
:
case
ERROR_FILENAME_EXCED_RANGE
:
case
ERROR_DISK_FULL
:
SetLastError
(
ERROR_ACCESS_DENIED
);
break
;
default:
break
;
}
}
break
;
break
;
case
0x3a
:
/* Remove directory */
case
0x3a
:
/* Remove directory */
TRACE
(
"LONG FILENAME - REMOVE DIRECTORY %s
\n
"
,
TRACE
(
"LONG FILENAME - REMOVE DIRECTORY %s
\n
"
,
...
...
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