Lauri Kenttä
96a48efeea
msvcrt: Fix space-only inputs in wcstoi64.
...
wcstoi64 sets endpos past the beginning only if some digits are found.
Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-26 19:49:41 +01:00
Lauri Kenttä
5b6e1cf2de
msvcrt: Make wcstoi64 support various Unicode digits.
...
Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-26 19:49:31 +01:00
Lauri Kenttä
b0ccba4b33
msvcrt/tests: Test wcstoi64 with various Unicode digits.
...
Test all Unicode digits which Windows seems to support.
Signed-off-by: Lauri Kenttä <lauri.kentta@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-26 19:48:33 +01:00
Piotr Caban
acba871d53
msvcrt: Add mbsrtowcs_s tests.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-16 21:16:51 +09:00
Nikolay Sivov
d8623f8241
msvcrt/tests: Use matching type to get array element count (PVS-Studio).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 18:41:17 +09:00
Piotr Caban
b408b5a9a4
msvcrt/tests: Fix tolower test failures.
2015-09-14 16:47:52 +09:00
Martin Storsjo
8edbd9b381
msvcrt: Test that the normal strtod doesn't handle the "NAN" string.
2015-08-31 14:50:42 +09:00
Piotr Caban
cf20731447
msvcrt: Add _mbscat_s_l implementation.
2015-07-07 16:52:20 +09:00
Sebastian Lackner
abbb361733
msvcrt: Set *end to NULL when strtod is called with NULL pointer string.
2015-06-29 19:07:50 +09:00
Michael Müller
ffcb4e0724
msvcrt/tests: Add additional tests for atof / strtod functions.
...
From: Michael Müller <michael@fds-team.de>
2015-06-29 19:07:50 +09:00
Piotr Caban
0922865b37
msvcrt: Fix strtol implementation on strings not containing valid number.
2015-06-08 19:07:55 +09:00
Hans Leidekker
bbd0e56a58
msvcrt: Handle NULL arguments in _mbscmp.
2015-04-24 22:04:09 +09:00
Akihiro Sagawa
cd5a76b182
msvcrt: Add _mbctokata implementation.
2015-03-17 00:20:00 +09:00
Akihiro Sagawa
b6ab2b6268
msvcrt: Add _mbctohira implementation.
2015-03-17 00:19:58 +09:00
Akihiro Sagawa
a2149ba7ba
msvcrt: Fix _ismbckata() for Halfwidth Katakana characters.
2015-03-17 00:19:57 +09:00
Piotr Caban
3af24fe1f4
msvcrt: Add _wcsset_s implementation.
2014-12-23 18:59:36 +01:00
Piotr Caban
7cf23a7957
msvcrt: Fix _stricmp behavior on characters that doesn't fit into signed char.
2014-09-03 16:31:01 +02:00
Piotr Caban
53869e19eb
msvcrt: Add _strnset_s implementation.
2014-09-02 15:07:27 +02:00
Piotr Caban
00bce25143
msvcrt: Add _strxfrm_l implementation.
2014-06-12 18:25:23 +02:00
Piotr Caban
9f17544bc9
msvcrt: Add _mbscpy_s implementation.
2014-05-19 13:01:34 +02:00
Piotr Caban
92e12bb8fb
msvcrt: Use win_skip when function is not exported.
2014-04-21 14:31:51 +02:00
Piotr Caban
f60b888bb2
msvcrt: Remove _set_invalid_parameter_handler calls from msvcrt tests.
2014-04-21 14:31:41 +02:00
Piotr Caban
13f6194bb1
msvcrt: Improve tolower tests.
2014-03-13 20:22:11 +01:00
Piotr Caban
1d4ac6dc1e
msvcrt/tests: Fix crash in mbstowcs tests.
2014-01-09 17:42:44 +01:00
Piotr Caban
544d179434
msvcrt: Handle null mbstr parameter in mbstowcs.
2014-01-08 16:11:31 +01:00
Nikolay Sivov
1f8636c5af
msvcrt/tests: Enable compilation with -D__WINESRC__.
2013-11-05 20:38:55 +01:00
Piotr Caban
f906be9ef4
msvcrt: Don't validate parameters in _itoa function.
2013-10-15 16:36:25 +02:00
Piotr Caban
a449b2d57b
msvcrt: Call MSVCRT_strtoi64_l in strtoul implementation.
2013-09-25 19:30:32 +02:00
Álvaro Nieto
e3e1284557
msvrct: Fix strncpy to fill the buffer.
2013-08-16 20:49:36 +02:00
Daniel Lehman
a0d8d1e223
msvcrt: Invoke invalid_handler in _wcscpy_s.
2013-08-16 11:55:23 +02:00
Piotr Caban
6457163bb2
msvcrt: Add _wctomb_s_l implementation.
2013-07-27 11:50:56 -05:00
Alexandre Julliard
4be0f88e8d
libwine: Use the best fit data for codepage 1361.
2013-07-22 17:16:00 +02:00
Piotr Caban
eb13a49de9
msvcrt: Add some _mbstok tests.
2013-06-21 16:23:35 +02:00
Piotr Caban
f3eb64ec73
msvcrt: Don't detect overflow in atoi implementation.
2013-06-04 21:01:13 +02:00
Akihiro Sagawa
0010ee021a
msvcrt: Fix incorrect casts in _wcstoi64_l and _wcstoui64_l.
2013-03-11 10:41:09 +01:00
Akihiro Sagawa
564b682447
msvcrt/tests: Add _wcstoi64/_wcstoui64 tests.
2013-03-11 10:41:07 +01:00
Francois Gouget
6ada0608bf
msvcrt/tests: Add a trailing '\n' to a win_skip() call.
2013-01-07 11:10:30 +01:00
Piotr Caban
dbec250635
msvcrt: Added _stricmp_l implementation.
2012-12-24 13:34:04 +01:00
Piotr Caban
78553db096
msvcrt: Added _atodbl tests.
2012-12-17 20:31:26 +01:00
Piotr Caban
d677bda974
msvcrt: Added wcrtomb tests.
2012-11-30 11:43:09 +01:00
Piotr Caban
1ced0f460c
msvcrt: Added mbsrtowcs tests.
2012-11-29 11:23:10 +01:00
Piotr Caban
f20a85a5da
msvcrt: Added mbrtowc tests.
2012-11-29 11:16:56 +01:00
Piotr Caban
00658a4a63
msvcrt: Added mbrlen tests.
2012-11-29 11:16:44 +01:00
Dan Kegel
4956045842
msvcrt: memmove_s shouldn't zero its output buffer on error.
2012-08-17 14:03:15 +02:00
Piotr Caban
dc830aa640
msvcrt: Rework wcsncpy_s to work on overlapping pointers.
2012-04-24 19:12:51 +02:00
Piotr Caban
a80aec4c56
msvcrt: Added support for _TRUNCATE flag in wcsncpy_s.
2012-04-12 20:39:15 +02:00
Akihiro Sagawa
7535b367dd
msvcrt: Fix _mbcjistojms off by one error.
2012-03-26 18:15:33 +02:00
Akihiro Sagawa
c1558bb7ef
msvcrt/tests: Add more tests for _mbcjistojms.
2012-03-26 18:15:32 +02:00
Akihiro Sagawa
9085a2e54c
msvcrt/tests: Rewrite test_mbcjisjms to test in various codepages.
2012-03-26 18:15:32 +02:00
Akihiro Sagawa
578d85f320
msvcrt: Improve _mbbtombc to handle Japanese characters.
2012-03-26 18:15:31 +02:00