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
779c1f80
Commit
779c1f80
authored
Jun 21, 2013
by
Piotr Caban
Committed by
Alexandre Julliard
Jun 21, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Don't call invalid parameter handler when string to be tokenized and…
msvcrt: Don't call invalid parameter handler when string to be tokenized and context are not set in mbstok.
parent
e1b4334f
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
19 additions
and
7 deletions
+19
-7
msvcr100.c
dlls/msvcr100/msvcr100.c
+6
-0
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+1
-1
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+1
-1
msvcr70.spec
dlls/msvcr70/msvcr70.spec
+1
-1
msvcr71.spec
dlls/msvcr71/msvcr71.spec
+1
-1
msvcr80.spec
dlls/msvcr80/msvcr80.spec
+1
-1
msvcr90.spec
dlls/msvcr90/msvcr90.spec
+1
-1
mbcs.c
dlls/msvcrt/mbcs.c
+6
-1
mbstring.h
include/msvcrt/mbstring.h
+1
-0
No files found.
dlls/msvcr100/msvcr100.c
View file @
779c1f80
...
...
@@ -25,6 +25,7 @@
#include "stdlib.h"
#include "errno.h"
#include "malloc.h"
#include "mbstring.h"
#include "limits.h"
#include "sys/stat.h"
#include "windef.h"
...
...
@@ -489,6 +490,11 @@ int CDECL MSVCR100_atoi(const char *str)
return
_atoi_l
(
str
,
NULL
);
}
unsigned
char
*
CDECL
MSVCR100__mbstok
(
unsigned
char
*
str
,
const
unsigned
char
*
delim
)
{
return
_mbstok_l
(
str
,
delim
,
NULL
);
}
/*********************************************************************
* DllMain (MSVCR100.@)
*/
...
...
dlls/msvcr100/msvcr100.spec
View file @
779c1f80
...
...
@@ -1182,7 +1182,7 @@
@ stub _mbsspnp_l
@ cdecl _mbsstr(str str) msvcrt._mbsstr
@ stub _mbsstr_l
@ cdecl _mbstok(str str)
msvcrt.
_mbstok
@ cdecl _mbstok(str str)
MSVCR100_
_mbstok
@ cdecl _mbstok_l(str str ptr) msvcrt._mbstok_l
@ cdecl _mbstok_s(str str ptr) msvcrt._mbstok_s
@ cdecl _mbstok_s_l(str str ptr ptr) msvcrt._mbstok_s_l
...
...
dlls/msvcr110/msvcr110.spec
View file @
779c1f80
...
...
@@ -1544,7 +1544,7 @@
@ stub _mbsspnp_l
@ cdecl _mbsstr(str str) msvcrt._mbsstr
@ stub _mbsstr_l
@ cdecl _mbstok(str str) msvcr
t._mbstok
@ cdecl _mbstok(str str) msvcr
100._mbstok #don't forward to msvcrt
@ cdecl _mbstok_l(str str ptr) msvcrt._mbstok_l
@ cdecl _mbstok_s(str str ptr) msvcrt._mbstok_s
@ cdecl _mbstok_s_l(str str ptr ptr) msvcrt._mbstok_s_l
...
...
dlls/msvcr70/msvcr70.spec
View file @
779c1f80
...
...
@@ -468,7 +468,7 @@
@ cdecl _mbsspn(str str) msvcrt._mbsspn
@ cdecl _mbsspnp(str str) msvcrt._mbsspnp
@ cdecl _mbsstr(str str) msvcrt._mbsstr
@ cdecl _mbstok(str str) msvcr
t._mbstok
@ cdecl _mbstok(str str) msvcr
100._mbstok #don't forward to msvcrt
@ cdecl _mbstrlen(str) msvcrt._mbstrlen
@ cdecl _mbsupr(str) msvcrt._mbsupr
@ cdecl _memccpy(ptr ptr long long) msvcrt._memccpy
...
...
dlls/msvcr71/msvcr71.spec
View file @
779c1f80
...
...
@@ -463,7 +463,7 @@
@ cdecl _mbsspn(str str) msvcrt._mbsspn
@ cdecl _mbsspnp(str str) msvcrt._mbsspnp
@ cdecl _mbsstr(str str) msvcrt._mbsstr
@ cdecl _mbstok(str str) msvcr
t._mbstok
@ cdecl _mbstok(str str) msvcr
100._mbstok #don't forward to msvcrt
@ cdecl _mbstrlen(str) msvcrt._mbstrlen
@ cdecl _mbsupr(str) msvcrt._mbsupr
@ cdecl _memccpy(ptr ptr long long) msvcrt._memccpy
...
...
dlls/msvcr80/msvcr80.spec
View file @
779c1f80
...
...
@@ -853,7 +853,7 @@
@ stub _mbsspnp_l
@ cdecl _mbsstr(str str) msvcrt._mbsstr
@ stub _mbsstr_l
@ cdecl _mbstok(str str) msvcr
t._mbstok
@ cdecl _mbstok(str str) msvcr
100._mbstok #don't forward to msvcrt
@ cdecl _mbstok_l(str str ptr) msvcrt._mbstok_l
@ cdecl _mbstok_s(str str ptr) msvcrt._mbstok_s
@ cdecl _mbstok_s_l(str str ptr ptr) msvcrt._mbstok_s_l
...
...
dlls/msvcr90/msvcr90.spec
View file @
779c1f80
...
...
@@ -831,7 +831,7 @@
@ stub _mbsspnp_l
@ cdecl _mbsstr(str str) msvcrt._mbsstr
@ stub _mbsstr_l
@ cdecl _mbstok(str str) msvcr
t._mbstok
@ cdecl _mbstok(str str) msvcr
100._mbstok #don't forward to msvcrt
@ cdecl _mbstok_l(str str ptr) msvcrt._mbstok_l
@ cdecl _mbstok_s(str str ptr) msvcrt._mbstok_s
@ cdecl _mbstok_s_l(str str ptr ptr) msvcrt._mbstok_s_l
...
...
dlls/msvcrt/mbcs.c
View file @
779c1f80
...
...
@@ -1149,7 +1149,12 @@ unsigned char* CDECL _mbstok_l(unsigned char *str,
*/
unsigned
char
*
CDECL
_mbstok
(
unsigned
char
*
str
,
const
unsigned
char
*
delim
)
{
return
_mbstok_s_l
(
str
,
delim
,
&
msvcrt_get_thread_data
()
->
mbstok_next
,
NULL
);
thread_data_t
*
data
=
msvcrt_get_thread_data
();
if
(
!
str
&&
!
data
->
mbstok_next
)
return
NULL
;
return
_mbstok_s_l
(
str
,
delim
,
&
data
->
mbstok_next
,
NULL
);
}
/*********************************************************************
...
...
include/msvcrt/mbstring.h
View file @
779c1f80
...
...
@@ -102,6 +102,7 @@ size_t __cdecl _mbsspn(const unsigned char*,const unsigned char*);
unsigned
char
*
__cdecl
_mbsspnp
(
const
unsigned
char
*
,
const
unsigned
char
*
);
unsigned
char
*
__cdecl
_mbsstr
(
const
unsigned
char
*
,
const
unsigned
char
*
);
unsigned
char
*
__cdecl
_mbstok
(
unsigned
char
*
,
const
unsigned
char
*
);
unsigned
char
*
__cdecl
_mbstok_l
(
unsigned
char
*
,
const
unsigned
char
*
,
_locale_t
);
unsigned
char
*
__cdecl
_mbsupr
(
unsigned
char
*
);
#ifndef _MBLEADTRAIL_DEFINED
...
...
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