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
878b4a92
Commit
878b4a92
authored
Oct 28, 2014
by
Iván Matellanes
Committed by
Alexandre Julliard
Oct 31, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Added _fgetc_nolock implementation.
parent
f896cd3d
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
2 deletions
+20
-2
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+1
-0
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+1
-0
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+1
-0
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+1
-0
file.c
dlls/msvcrt/file.c
+14
-2
msvcrt.h
dlls/msvcrt/msvcrt.h
+1
-0
stdio.h
include/msvcrt/stdio.h
+1
-0
No files found.
dlls/msvcr100/msvcr100.spec
View file @
878b4a92
...
@@ -800,6 +800,7 @@
...
@@ -800,6 +800,7 @@
@ cdecl _fcvt_s(ptr long double long ptr ptr) MSVCRT__fcvt_s
@ cdecl _fcvt_s(ptr long double long ptr ptr) MSVCRT__fcvt_s
@ cdecl _fdopen(long str) MSVCRT__fdopen
@ cdecl _fdopen(long str) MSVCRT__fdopen
@ cdecl _fflush_nolock(ptr) MSVCRT__fflush_nolock
@ cdecl _fflush_nolock(ptr) MSVCRT__fflush_nolock
@ cdecl _fgetc_nolock(ptr) MSVCRT__fgetc_nolock
@ cdecl _fgetchar() MSVCRT__fgetchar
@ cdecl _fgetchar() MSVCRT__fgetchar
@ stub _fgetwc_nolock
@ stub _fgetwc_nolock
@ cdecl _fgetwchar() MSVCRT__fgetwchar
@ cdecl _fgetwchar() MSVCRT__fgetwchar
...
...
dlls/msvcr110/msvcr110.spec
View file @
878b4a92
...
@@ -1148,6 +1148,7 @@
...
@@ -1148,6 +1148,7 @@
@ cdecl _fcvt_s(ptr long double long ptr ptr) MSVCRT__fcvt_s
@ cdecl _fcvt_s(ptr long double long ptr ptr) MSVCRT__fcvt_s
@ cdecl _fdopen(long str) MSVCRT__fdopen
@ cdecl _fdopen(long str) MSVCRT__fdopen
@ cdecl _fflush_nolock(ptr) MSVCRT__fflush_nolock
@ cdecl _fflush_nolock(ptr) MSVCRT__fflush_nolock
@ cdecl _fgetc_nolock(ptr) MSVCRT__fgetc_nolock
@ cdecl _fgetchar() MSVCRT__fgetchar
@ cdecl _fgetchar() MSVCRT__fgetchar
@ stub _fgetwc_nolock
@ stub _fgetwc_nolock
@ cdecl _fgetwchar() MSVCRT__fgetwchar
@ cdecl _fgetwchar() MSVCRT__fgetwchar
...
...
dlls/msvcr80/msvcr80.spec
View file @
878b4a92
...
@@ -467,6 +467,7 @@
...
@@ -467,6 +467,7 @@
@ cdecl _fcvt_s(ptr long double long ptr ptr) MSVCRT__fcvt_s
@ cdecl _fcvt_s(ptr long double long ptr ptr) MSVCRT__fcvt_s
@ cdecl _fdopen(long str) MSVCRT__fdopen
@ cdecl _fdopen(long str) MSVCRT__fdopen
@ cdecl _fflush_nolock(ptr) MSVCRT__fflush_nolock
@ cdecl _fflush_nolock(ptr) MSVCRT__fflush_nolock
@ cdecl _fgetc_nolock(ptr) MSVCRT__fgetc_nolock
@ cdecl _fgetchar() MSVCRT__fgetchar
@ cdecl _fgetchar() MSVCRT__fgetchar
@ stub _fgetwc_nolock
@ stub _fgetwc_nolock
@ cdecl _fgetwchar() MSVCRT__fgetwchar
@ cdecl _fgetwchar() MSVCRT__fgetwchar
...
...
dlls/msvcr90/msvcr90.spec
View file @
878b4a92
...
@@ -449,6 +449,7 @@
...
@@ -449,6 +449,7 @@
@ cdecl _fcvt_s(ptr long double long ptr ptr) MSVCRT__fcvt_s
@ cdecl _fcvt_s(ptr long double long ptr ptr) MSVCRT__fcvt_s
@ cdecl _fdopen(long str) MSVCRT__fdopen
@ cdecl _fdopen(long str) MSVCRT__fdopen
@ cdecl _fflush_nolock(ptr) MSVCRT__fflush_nolock
@ cdecl _fflush_nolock(ptr) MSVCRT__fflush_nolock
@ cdecl _fgetc_nolock(ptr) MSVCRT__fgetc_nolock
@ cdecl _fgetchar() MSVCRT__fgetchar
@ cdecl _fgetchar() MSVCRT__fgetchar
@ stub _fgetwc_nolock
@ stub _fgetwc_nolock
@ cdecl _fgetwchar() MSVCRT__fgetwchar
@ cdecl _fgetwchar() MSVCRT__fgetwchar
...
...
dlls/msvcrt/file.c
View file @
878b4a92
...
@@ -3503,10 +3503,23 @@ int CDECL MSVCRT__filbuf(MSVCRT_FILE* file)
...
@@ -3503,10 +3503,23 @@ int CDECL MSVCRT__filbuf(MSVCRT_FILE* file)
*/
*/
int
CDECL
MSVCRT_fgetc
(
MSVCRT_FILE
*
file
)
int
CDECL
MSVCRT_fgetc
(
MSVCRT_FILE
*
file
)
{
{
int
ret
;
MSVCRT__lock_file
(
file
);
ret
=
MSVCRT__fgetc_nolock
(
file
);
MSVCRT__unlock_file
(
file
);
return
ret
;
}
/*********************************************************************
* _fgetc_nolock (MSVCRT.@)
*/
int
CDECL
MSVCRT__fgetc_nolock
(
MSVCRT_FILE
*
file
)
{
unsigned
char
*
i
;
unsigned
char
*
i
;
unsigned
int
j
;
unsigned
int
j
;
MSVCRT__lock_file
(
file
);
if
(
file
->
_cnt
>
0
)
{
if
(
file
->
_cnt
>
0
)
{
file
->
_cnt
--
;
file
->
_cnt
--
;
i
=
(
unsigned
char
*
)
file
->
_ptr
++
;
i
=
(
unsigned
char
*
)
file
->
_ptr
++
;
...
@@ -3514,7 +3527,6 @@ int CDECL MSVCRT_fgetc(MSVCRT_FILE* file)
...
@@ -3514,7 +3527,6 @@ int CDECL MSVCRT_fgetc(MSVCRT_FILE* file)
}
else
}
else
j
=
MSVCRT__filbuf
(
file
);
j
=
MSVCRT__filbuf
(
file
);
MSVCRT__unlock_file
(
file
);
return
j
;
return
j
;
}
}
...
...
dlls/msvcrt/msvcrt.h
View file @
878b4a92
...
@@ -916,6 +916,7 @@ int __cdecl MSVCRT__isleadbyte_l(int, MSVCRT__locale_t);
...
@@ -916,6 +916,7 @@ int __cdecl MSVCRT__isleadbyte_l(int, MSVCRT__locale_t);
void
__cdecl
MSVCRT__lock_file
(
MSVCRT_FILE
*
);
void
__cdecl
MSVCRT__lock_file
(
MSVCRT_FILE
*
);
void
__cdecl
MSVCRT__unlock_file
(
MSVCRT_FILE
*
);
void
__cdecl
MSVCRT__unlock_file
(
MSVCRT_FILE
*
);
int
__cdecl
MSVCRT_fgetc
(
MSVCRT_FILE
*
);
int
__cdecl
MSVCRT_fgetc
(
MSVCRT_FILE
*
);
int
__cdecl
MSVCRT__fgetc_nolock
(
MSVCRT_FILE
*
);
int
__cdecl
MSVCRT_ungetc
(
int
,
MSVCRT_FILE
*
);
int
__cdecl
MSVCRT_ungetc
(
int
,
MSVCRT_FILE
*
);
MSVCRT_wint_t
__cdecl
MSVCRT_fgetwc
(
MSVCRT_FILE
*
);
MSVCRT_wint_t
__cdecl
MSVCRT_fgetwc
(
MSVCRT_FILE
*
);
MSVCRT_wint_t
__cdecl
MSVCRT_ungetwc
(
MSVCRT_wint_t
,
MSVCRT_FILE
*
);
MSVCRT_wint_t
__cdecl
MSVCRT_ungetwc
(
MSVCRT_wint_t
,
MSVCRT_FILE
*
);
...
...
include/msvcrt/stdio.h
View file @
878b4a92
...
@@ -131,6 +131,7 @@ size_t __cdecl _fread_nolock(void*,size_t,size_t,FILE*);
...
@@ -131,6 +131,7 @@ size_t __cdecl _fread_nolock(void*,size_t,size_t,FILE*);
size_t
__cdecl
_fwrite_nolock
(
const
void
*
,
size_t
,
size_t
,
FILE
*
);
size_t
__cdecl
_fwrite_nolock
(
const
void
*
,
size_t
,
size_t
,
FILE
*
);
int
__cdecl
_fclose_nolock
(
FILE
*
);
int
__cdecl
_fclose_nolock
(
FILE
*
);
int
__cdecl
_fflush_nolock
(
FILE
*
);
int
__cdecl
_fflush_nolock
(
FILE
*
);
int
__cdecl
_fgetc_nolock
(
FILE
*
);
int
__cdecl
_fseek_nolock
(
FILE
*
,
__msvcrt_long
,
int
);
int
__cdecl
_fseek_nolock
(
FILE
*
,
__msvcrt_long
,
int
);
int
__cdecl
_fseeki64_nolock
(
FILE
*
,
__int64
,
int
);
int
__cdecl
_fseeki64_nolock
(
FILE
*
,
__int64
,
int
);
__msvcrt_long
__cdecl
_ftell_nolock
(
FILE
*
);
__msvcrt_long
__cdecl
_ftell_nolock
(
FILE
*
);
...
...
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