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
f2bfc7b1
Commit
f2bfc7b1
authored
Jun 27, 2006
by
Ivan Leo
Committed by
Alexandre Julliard
Jun 27, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt/tests: Don't leave files on the disk.
parent
289a068b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
file.c
dlls/msvcrt/tests/file.c
+2
-2
No files found.
dlls/msvcrt/tests/file.c
View file @
f2bfc7b1
...
...
@@ -472,14 +472,14 @@ static void test_get_osfhandle(void)
DWORD
bytes_written
;
HANDLE
handle
;
fd
=
_sopen
(
fname
,
_O_CREAT
|
_O_RDWR
,
_SH_DENYRW
,
0
);
fd
=
_sopen
(
fname
,
_O_CREAT
|
_O_RDWR
,
_SH_DENYRW
,
_S_IREAD
|
_S_IWRITE
);
handle
=
(
HANDLE
)
_get_osfhandle
(
fd
);
WriteFile
(
handle
,
"bar"
,
3
,
&
bytes_written
,
NULL
);
_close
(
fd
);
fd
=
_open
(
fname
,
_O_RDONLY
,
0
);
ok
(
fd
!=
-
1
,
"Coudn't open '%s' after _get_osfhanle()
\n
"
,
fname
);
CloseHandle
(
handle
);
_close
(
fd
);
_unlink
(
fname
);
}
...
...
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