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
08af06c1
Commit
08af06c1
authored
Jan 29, 2002
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jan 29, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented _wmakepath.
parent
fd33517a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
1 deletion
+47
-1
dir.c
dlls/msvcrt/dir.c
+46
-0
msvcrt.spec
dlls/msvcrt/msvcrt.spec
+1
-1
No files found.
dlls/msvcrt/dir.c
View file @
08af06c1
...
...
@@ -694,6 +694,52 @@ VOID _makepath(char * path, const char * drive,
TRACE
(
"returning %s
\n
"
,
path
);
}
/*********************************************************************
* _wmakepath (MSVCRT.@)
*/
VOID
_wmakepath
(
WCHAR
*
path
,
const
WCHAR
*
drive
,
const
WCHAR
*
directory
,
const
WCHAR
*
filename
,
const
WCHAR
*
extension
)
{
WCHAR
ch
;
TRACE
(
"%s %s %s %s
\n
"
,
debugstr_w
(
drive
),
debugstr_w
(
directory
),
debugstr_w
(
filename
),
debugstr_w
(
extension
));
if
(
!
path
)
return
;
path
[
0
]
=
0
;
if
(
drive
&&
drive
[
0
])
{
path
[
0
]
=
drive
[
0
];
path
[
1
]
=
':'
;
path
[
2
]
=
0
;
}
if
(
directory
&&
directory
[
0
])
{
strcatW
(
path
,
directory
);
ch
=
path
[
strlenW
(
path
)
-
1
];
if
(
ch
!=
'/'
&&
ch
!=
'\\'
)
{
static
const
WCHAR
backslashW
[]
=
{
'\\'
,
0
};
strcatW
(
path
,
backslashW
);
}
}
if
(
filename
&&
filename
[
0
])
{
strcatW
(
path
,
filename
);
if
(
extension
&&
extension
[
0
])
{
if
(
extension
[
0
]
!=
'.'
)
{
static
const
WCHAR
dotW
[]
=
{
'.'
,
0
};
strcatW
(
path
,
dotW
);
}
strcatW
(
path
,
extension
);
}
}
TRACE
(
"returning %s
\n
"
,
debugstr_w
(
path
));
}
/*********************************************************************
* _searchenv (MSVCRT.@)
...
...
dlls/msvcrt/msvcrt.spec
View file @
08af06c1
...
...
@@ -534,7 +534,7 @@ debug_channels (msvcrt)
@ extern _winmajor MSVCRT__winmajor
@ extern _winminor MSVCRT__winminor
@ extern _winver MSVCRT__winver
@
stub _wmakepath #(wstr wstr wstr wstr wstr)
@
cdecl _wmakepath(wstr wstr wstr wstr wstr) _wmakepath
@ cdecl _wmkdir(wstr) _wmkdir
@ cdecl _wmktemp(wstr) _wmktemp
@ varargs _wopen(wstr long) _wopen
...
...
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