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
85559848
Commit
85559848
authored
Jan 06, 2012
by
Daniel Lehman
Committed by
Alexandre Julliard
Jan 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Sync _wtempnam with _tempnam.
parent
7c34c4d2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
file.c
dlls/msvcrt/file.c
+4
-0
No files found.
dlls/msvcrt/file.c
View file @
85559848
...
...
@@ -2371,7 +2371,11 @@ char * CDECL MSVCRT__tempnam(const char *dir, const char *prefix)
*/
MSVCRT_wchar_t
*
CDECL
MSVCRT__wtempnam
(
const
MSVCRT_wchar_t
*
dir
,
const
MSVCRT_wchar_t
*
prefix
)
{
static
const
MSVCRT_wchar_t
tmpW
[]
=
{
'T'
,
'M'
,
'P'
,
0
};
MSVCRT_wchar_t
tmpbuf
[
MAX_PATH
];
const
MSVCRT_wchar_t
*
tmp_dir
=
MSVCRT__wgetenv
(
tmpW
);
if
(
tmp_dir
)
dir
=
tmp_dir
;
TRACE
(
"dir (%s) prefix (%s)
\n
"
,
debugstr_w
(
dir
),
debugstr_w
(
prefix
));
if
(
GetTempFileNameW
(
dir
,
prefix
,
0
,
tmpbuf
))
...
...
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