Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
1861c216
Commit
1861c216
authored
Sep 01, 2010
by
Piotr Caban
Committed by
Alexandre Julliard
Sep 02, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Fix _splitpath and _wsplitpath implementation.
parent
0f900535
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
dir.c
dlls/msvcrt/dir.c
+4
-4
No files found.
dlls/msvcrt/dir.c
View file @
1861c216
...
...
@@ -831,8 +831,8 @@ do_error:
void
CDECL
_splitpath
(
const
char
*
inpath
,
char
*
drv
,
char
*
dir
,
char
*
fname
,
char
*
ext
)
{
_splitpath_s
(
inpath
,
drv
,
MSVCRT__MAX_DRIVE
,
dir
,
MSVCRT__MAX_DIR
,
fname
,
MSVCRT__MAX_FNAME
,
ext
,
MSVCRT__MAX_EXT
);
_splitpath_s
(
inpath
,
drv
,
drv
?
MSVCRT__MAX_DRIVE
:
0
,
dir
,
dir
?
MSVCRT__MAX_DIR
:
0
,
fname
,
fname
?
MSVCRT__MAX_FNAME
:
0
,
ext
,
ext
?
MSVCRT__MAX_EXT
:
0
);
}
/******************************************************************
...
...
@@ -925,8 +925,8 @@ do_error:
void
CDECL
_wsplitpath
(
const
MSVCRT_wchar_t
*
inpath
,
MSVCRT_wchar_t
*
drv
,
MSVCRT_wchar_t
*
dir
,
MSVCRT_wchar_t
*
fname
,
MSVCRT_wchar_t
*
ext
)
{
_wsplitpath_s
(
inpath
,
drv
,
MSVCRT__MAX_DRIVE
,
dir
,
MSVCRT__MAX_DIR
,
fname
,
MSVCRT__MAX_FNAME
,
ext
,
MSVCRT__MAX_EXT
);
_wsplitpath_s
(
inpath
,
drv
,
drv
?
MSVCRT__MAX_DRIVE
:
0
,
dir
,
dir
?
MSVCRT__MAX_DIR
:
0
,
fname
,
fname
?
MSVCRT__MAX_FNAME
:
0
,
ext
,
ext
?
MSVCRT__MAX_EXT
:
0
);
}
/*********************************************************************
...
...
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