http://git.etersoft.ru/projects
/
wine
/
eterwine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1282d7a
)
Fix up init_fp test for freopen.
author
Tony Lambregts
<tony_lambregts@telusplanet.net>
Wed, 3 Nov 2004 22:17:05 +0000
(22:17 +0000)
committer
Alexandre Julliard
<julliard@winehq.org>
Wed, 3 Nov 2004 22:17:05 +0000
(22:17 +0000)
dlls/msvcrt/file.c
patch
|
blob
|
blame
|
history
diff --git
a/dlls/msvcrt/file.c
b/dlls/msvcrt/file.c
index d6820f67e93dc72424a775d888272b0b93848aeb..aa8ce1b0ba6c4e7d3982576aacbe14f30c000bad 100644
(file)
--- a/
dlls/msvcrt/file.c
+++ b/
dlls/msvcrt/file.c
@@
-2316,7
+2316,7
@@
MSVCRT_FILE* MSVCRT_freopen(const char *path, const char *mode,MSVCRT_FILE* file
if (fd < 0)
return NULL;
- if (msvcrt_init_fp(file, fd, stream_flags)
!
= -1)
+ if (msvcrt_init_fp(file, fd, stream_flags)
=
= -1)
{
file->_flag = 0;
WARN(":failed-last error (%ld)\n",GetLastError());