Piotr Caban
7aa67f1e5f
msvcrt: Fix buffer size checks in swscanf_s.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-01 15:57:12 +01:00
Piotr Caban
96584d858a
msvcrt: Don't report error in fclose on already closed stream.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 20:44:33 +01:00
Piotr Caban
1899eadf3e
msvcrt: Change how fread splits reading into chunks.
...
It affects fd stream position and buffer content on unsuccessul reads.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-30 20:44:33 +01:00
Piotr Caban
67926ec8c3
msvcrt: Set errno when close() is called on already closed fd.
...
Based on a patch by Olly Betts.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-28 20:39:29 +01:00
Piotr Caban
7aa4b6d170
msvcrt: Fix write() behaviour on "no console" file descriptors.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-15 10:50:22 +01:00
Piotr Caban
9b2397d5c8
msvcrt: Fix read() behaviour on "no console" file descriptors.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-15 10:50:20 +01:00
Piotr Caban
677301a29c
msvcrt: Fix close() behaviour on "no console" file descriptors.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-15 10:50:18 +01:00
Piotr Caban
31bf13e92b
msvcrt: Fix IO initialization when invalid handles are passed.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-15 10:50:10 +01:00
Piotr Caban
20a11fd6cc
msvcrt/tests: Rewrite clock() tests.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-13 17:09:37 +01:00
Nikolay Sivov
d045a5ea29
msvcrt: Implement _memicmp_l().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-08 20:21:10 +01:00
Alexandre Julliard
7726157e19
msvcrt: Use WINAPIV calling convention for variadic functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-02 10:20:02 +01:00
Piotr Caban
6d0d955ac0
msvcrt/tests: Add _mbccpy_s tests.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-06 21:48:49 +02:00
Piotr Caban
f38c958ed4
msvcrt/tests: Add _mbsnlen tests.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-05 20:32:10 +02:00
Nikolay Sivov
1a6e50ce97
msvcrt: Added _ismbcl0().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-12 11:11:43 +09:00
Piotr Caban
395a65bdc6
msvcrt: Fix strcpy implementation so it works on overlapping buffers.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-06 10:34:11 +09:00
Akihiro Sagawa
967fb744e4
msvcrt: Fix mbstowcs with empty strings.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-06 10:32:36 +09:00
Akihiro Sagawa
82bf4edf36
msvcrt/tests: Add tests for mbstowcs and wcstombs with empty strings.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-06 10:32:29 +09:00
Alistair Leslie-Hughes
d379dc4cb0
msvcrt/tests: Use standard wine_dbgstr_longlong.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-02 13:55:34 +02:00
Francois Gouget
2dada69909
msvcrt/tests: A couple of spelling fixes in ok() messages.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-06 18:49:39 +02:00
Piotr Caban
e7f9b562b9
msvcrt: Fix wide characters handling in wscanf functions.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-03 13:08:57 +02:00
Piotr Caban
32bb8d9068
msvcrt: Fix handling of unsigned chars in scanf format.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-31 15:53:21 +02:00
Lauri Kenttä
cabf96512a
msvcrt/tests: Add tests for _creat.
...
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-02-07 22:05:31 +01:00
Michael Stefaniuc
6fadcca527
msvcrt/tests: Use NULL instead of casting 0.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 16:26:49 +01:00
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
da071d939f
msvcrt/tests: Correctly declare base class to avoid a compiler warning.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-22 15:08:00 +01:00
Daniel Lehman
cada88a64b
msvcrt: Add _lfind_s.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-29 12:14:44 +01:00
Piotr Caban
1680e98427
msvcrt: Improve multibyte characters support in printf.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-15 16:06:30 -06:00
Piotr Caban
d6948bf356
msvcrt: Add support for multibyte characters in _Strftime.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 12:07:29 +09: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
1b072058ac
msvcrt/tests: Fix a test failure on early XP versions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-16 21:16:35 +09:00
André Hentschel
a313c9b7f9
msvcrt/tests: Don't test function directly when reporting errno.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 01:27:52 +09:00
Nikolay Sivov
50dd4b8928
msvcrt: Handle overflow in calloc().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-27 20:49:42 +09:00
Nikolay Sivov
21fd1d3729
msvcrt: Fix calloc() prototype.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-26 14:48:47 +09:00
Frédéric Delanoy
0da6cca13c
msvcrt/tests: Use todo_wine_if() in tests.
...
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 19:54:49 +09:00
Piotr Caban
96d476584e
msvcrt/tests: Add close tests on file descriptors that use the same HANDLE.
...
Based on Qian Hong patch.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-20 12:09:22 +09:00
Francois Gouget
981c16e4e6
msvcrt/tests: Fix the Norwegian locale tests on Windows 10.
...
Also add comments to indicate which Windows version returns what.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-18 22:58:25 +09:00
Sebastian Lackner
340f1615bd
msvcrt/tests: Use brackets to protect arguments in call_func2 macro.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 20:26:22 +09:00
Paul Gofman
faf59e5f06
msvcrt: Handle of thread created by _beginthread should not be closed on thread detach.
...
Handle should be closed if _endthread is called or thread function
exits. If thread is terminated by ExitThread or _endthreadex, thread
handle remains valid.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-01 21:41:22 +09:00
Piotr Caban
6ac2acc34f
msvcrt: Add support for $$B datatype description format in unDName.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-21 17:01:45 +09:00
Piotr Caban
112ad7fc87
msvcrt: Add support for member function pointers demangling in unDName function.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-21 17:01:45 +09:00
Piotr Caban
9189eb2208
msvcrt: Fix size test of structure returned by _Gettnames.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 21:19:17 +09:00
Alexandre Julliard
0ea5a01ca2
msvcrt/tests: Don't check array pointer for NULL.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-13 01:56:06 +09:00
Nikolay Sivov
d99727bcb3
msvcrt: Fix char to int promotion that breaks pattern lookup.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-23 16:31:53 +01:00
Andrey Gusev
8bfc9bd2ee
Assorted typos fixes.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-27 15:38:30 +09:00
Hugh McMaster
11669fa5e2
Assorted spelling and grammar fixes.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:40 +09:00
Martin Storsjo
4a79e54917
ucrtbase: Handle the C99 'z' size_t specifier for integers.
...
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 19:19:32 +09:00
Martin Storsjo
494572ed4d
msvcrt: Interpret 'I' as size_t size specifier for integer conversions.
...
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 19:19:27 +09:00
Martin Storsjo
1d17e85026
msvcrt: Ignore 'N' as format length modifier for pointers, just like 'F'.
...
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-04 19:19:07 +09:00
Martin Storsjo
bf4493404c
msvcrt: Remove a stray semicolon.
...
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 23:35:29 +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
Andrey Gusev
d3177504b1
Assorted spelling and typos fixes.
2015-08-31 20:18:46 +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
Andrey Gusev
5cdcd4493f
Assorted spelling and typos fixes.
2015-08-18 15:00:13 +09:00
Iván Matellanes
ea2798f1ce
msvcrt: _setmode should check if file descriptor is valid.
2015-08-05 23:45:50 +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
Piotr Caban
86baccc9ae
msvcrt: Get rid of msvcrt_fdtoh helper.
2015-06-03 22:52:00 +09:00
Hans Leidekker
bbd0e56a58
msvcrt: Handle NULL arguments in _mbscmp.
2015-04-24 22:04:09 +09:00
Piotr Caban
248bd63b53
msvcrt/tests: Use NAN and INFINITY definitions from port.h in printf tests.
2015-03-25 22:40:09 +09:00
Piotr Caban
6de6e42a36
msvcrt/tests: Add atan, tanh and exp tests on invalid arguments.
2015-03-25 21:48:02 +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
7880525f44
msvcrt: Handle read buffer flushing in msvcrt_flush_buffer helper.
2015-01-26 11:22:54 +01:00
Hugh McMaster
d999fd0d11
msvcrt/tests: Add more tests for _vsnwprintf.
2015-01-07 23:48:26 +01:00
Piotr Caban
3af24fe1f4
msvcrt: Add _wcsset_s implementation.
2014-12-23 18:59:36 +01:00
Michael Stefaniuc
42e6019c00
msvcrt/tests: Don't open code offsetof().
2014-11-27 11:43:41 +01:00
Nikolay Sivov
1228f0bba5
msvcrt: Added __dstbias() export.
2014-09-10 21:36:52 +02: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
60eb44d820
msvcrt: Don't touch _bufsiz value while initializing FILE structure.
2014-06-27 10:37:54 +02:00
Piotr Caban
18a416f7d5
msvcrt: Support NULL buffer in setvbuf.
2014-06-26 19:00:41 +02:00
Grazvydas Ignotas
ad968be779
msvcrt: Implement bufsiz block flushing behavior.
2014-06-25 11:48:13 +02:00
Grazvydas Ignotas
c6a160691a
msvcrt: Clear _cnt on buffer flush.
2014-06-25 11:47:30 +02:00
Francois Gouget
eb4d39b9ee
msvcrt/tests: Add a trailing '\n' to an ok() call.
2014-06-18 19:56:07 +02:00
Grazvydas Ignotas
47909d8d8b
msvcrt/tests: Test _cnt value after rewind/fflush.
2014-06-18 19:54:43 +02:00
Piotr Caban
ac399b0842
msvcrt: Add small blocks heap tests.
2014-06-18 19:54:33 +02:00
Alexandre Julliard
762c94144f
msvcrt/tests: Avoid size_t in traces.
2014-06-18 19:52:38 +02:00
Grazvydas Ignotas
40067dd011
msvcrt: Change internal buffer size to 4k.
2014-06-17 12:35:48 +02:00
Grazvydas Ignotas
147be95a68
msvcrt/tests: Add a test for fwrite flushing behavior.
2014-06-17 12:35:33 +02:00
Piotr Caban
00bce25143
msvcrt: Add _strxfrm_l implementation.
2014-06-12 18:25:23 +02:00
Francois Gouget
df5cd21ff6
msvcrt/tests: Make qsort_comp() static.
2014-05-24 11:00:08 +09:00
Piotr Caban
e95938c2d6
msvcrt: Add qsort_s tests.
2014-05-21 19:38:34 +02:00
Piotr Caban
9f17544bc9
msvcrt: Add _mbscpy_s implementation.
2014-05-19 13:01:34 +02:00
Piotr Caban
1d865f90d6
msvcrt/tests: Fix _popen test failures when path contains spaces.
2014-04-21 14:33:06 +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
0cb5067698
msvcrt: Don't raise exception in _invalid_parameter.
2014-04-21 14:31:38 +02:00
Akihiro Sagawa
ab5db46477
msvcrt: Add MBCS handling for _splitpath.
2014-04-14 20:19:01 +02:00
Piotr Caban
9c1d687a7a
msvcrt: Remove setlocale test with empty locale string.
2014-03-25 19:05:09 +01:00
Piotr Caban
2693ce1a25
msvcrt: Don't add 0x prefix while printing 0 with printf.
2014-03-20 17:44:05 +01:00
Piotr Caban
c4f935d449
msvcrt: Fix p__p___mb_cur_max tests.
2014-03-18 13:26:45 +01:00
Piotr Caban
13f6194bb1
msvcrt: Improve tolower tests.
2014-03-13 20:22:11 +01:00
Piotr Caban
6ad441cd6b
msvcrt: Return error on invalid handle in _open_osfhandle.
2014-02-12 19:15:28 +01:00
Piotr Caban
f4985e42b7
msvcrt/tests: Don't pass path containing spaces to _spawnvp.
2014-02-11 20:22:31 +01:00
Piotr Caban
638c8e3847
msvcrt: Don't overwrite unmatched string in scanf.
2014-01-16 21:04:19 +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
Alexandre Julliard
3e40fea9d6
makefiles: Automatically add the necessary msvcrt flags to the generated rules.
2014-01-08 14:34:15 +01:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00
Daniel Lehman
15b35f4d37
msvcrt: Return wall-clock time from clock().
2013-11-25 19:30:20 +01:00
Nikolay Sivov
1f8636c5af
msvcrt/tests: Enable compilation with -D__WINESRC__.
2013-11-05 20:38:55 +01:00
Piotr Caban
d2c8dcb7e0
msvcrt/tests: Fix __unDName test failures on Win2000.
2013-10-23 17:01:47 +02:00
Piotr Caban
d218d82af4
msvcrt: Don't output __ptr64 when UNDNAME_NO_MS_KEYWORDS is used.
2013-10-22 20:19:18 +02:00
Piotr Caban
47908f7ac2
msvcrt: Fix __ptr64 displaying when UNDNAME_NO_LEADING_UNDERSCORES flag is used.
2013-10-22 20:19:17 +02:00
Piotr Caban
0d17c47480
msvcrt: Add support for UNDNAME_NO_THISTYPE flag in __unDName.
2013-10-22 20:19:17 +02:00
Piotr Caban
f906be9ef4
msvcrt: Don't validate parameters in _itoa function.
2013-10-15 16:36:25 +02:00
Piotr Caban
0aa72d880a
msvcrt: Add support for vtordispex demangling.
2013-10-07 14:44:36 +02:00
Piotr Caban
501d60b020
msvcrt: Add support for vcall thunks demangling.
2013-10-07 14:44:36 +02:00
Michael Stefaniuc
0e681027a2
tests: Compile the tests by default with -D__WINESRC__.
2013-10-02 11:04:02 +02:00
Michael Stefaniuc
9463dba830
tests: Use the explicit LoadLibraryA function.
2013-10-02 11:02:21 +02:00
Piotr Caban
a449b2d57b
msvcrt: Call MSVCRT_strtoi64_l in strtoul implementation.
2013-09-25 19:30:32 +02:00
André Hentschel
0e867236dc
msvcrt/tests: Load the correct function on ARM.
2013-09-17 12:27:00 +02:00
Piotr Caban
6594212dd6
msvcrt: Fix Inf and NaN handling in printf function.
2013-09-16 19:51:04 +02:00
Piotr Caban
0df84ecf11
msvcrt: Add support for vtordisp functions demangling.
2013-09-12 12:59:14 +02:00
Piotr Caban
024ece50e8
msvcrt: Fix parameter validation in _stat64 function.
2013-08-26 15:01:37 +02:00
Piotr Caban
089cc78182
msvcrt: Fix lookahead buffer usage on pipes.
2013-08-21 19:52:51 +02:00
Álvaro Nieto
e3e1284557
msvrct: Fix strncpy to fill the buffer.
2013-08-16 20:49:36 +02:00
André Hentschel
3d6ebecedb
msvcrt/tests: Fix dynamically loaded functions for ARM.
2013-08-16 11:55:23 +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
Piotr Caban
ce9d4b807e
msvcrt: Fix _mktemp implementation.
2013-07-24 14:35:11 -05:00
Qian Hong
ff7746a0c8
msvcrt/tests: Added setlocale test for Chinese_China.936.
2013-07-22 17:16:04 +02: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
André Hentschel
b815548cf0
kernel32/tests: Don't test function directly when reporting GetLastError().
2013-04-03 18:05:35 +02:00
Akihiro Sagawa
cf2ce8c64b
msvcrt/tests: Add unicode fgetwc tests.
2013-03-27 20:12:28 +01:00
Akihiro Sagawa
c2ce2fa06e
msvcrt/tests: Add locale dependent fgetwc tests.
2013-03-27 20:12:28 +01:00
Piotr Caban
343122a494
msvcrt: Added _set_output_format tests.
2013-03-27 12:13:23 +01: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
Piotr Caban
d989e92c3e
msvcrt: Added __pxcptinfoptrs tests.
2013-03-05 12:44:36 +01:00
Piotr Caban
cd7b71d3f4
msvcrt: Added stdin close/open tests.
2013-03-04 11:14:47 +01:00
André Hentschel
43bdfce436
msvcrt/tests: Mark win8 behaviour as broken.
2013-02-28 21:00:31 +01:00
Piotr Caban
61f82d6d02
msvcrt: Mark gmtime32 tests with negative argument as broken on win8.
2013-02-20 16:28:30 +01:00
Piotr Caban
9778248441
msvcrt: Fixed _Gettnames test on Win8.
2013-01-25 17:30:57 +01:00
Piotr Caban
8304bf4dfc
msvcrt: Fixed setlocale tests on Win8.
2013-01-25 17:30:51 +01:00
Michael Stefaniuc
a8b63acc03
msvcrt/tests: Use assignment instead of memcpy to copy structs.
2013-01-24 15:38:50 +01:00
Piotr Caban
0d0f705048
msvcrt: Added basic _popen tests.
2013-01-18 13:28:59 +01:00
Piotr Caban
8401224731
msvcrt: Added fwprintf tests.
2013-01-11 12:04:43 +01:00
Piotr Caban
77f3ce0b10
msvcrt: Added fputwc tests.
2013-01-11 12:04:12 +01:00
Piotr Caban
777f349829
msvcrt: Added read tests on unicode files.
2013-01-10 12:29:33 +01:00
Piotr Caban
62bd615452
msvcrt: Added more read tests.
2013-01-10 12:29:02 +01:00
Piotr Caban
f93259b305
msvcrt: Added _setmode tests.
2013-01-10 12:28:57 +01:00
Piotr Caban
5778bdbc3a
msvcrt: Added write tests on unicode files.
2013-01-10 12:28:09 +01:00
Piotr Caban
617bf861ef
msvcrt: Added fopen_s test with ccs option.
2013-01-10 12:27:42 +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
bcf4467b86
msvcrt: Return error in stat function when path is specified with trailing slash character.
2012-12-27 17:15:39 +01:00
Piotr Caban
6e485f13c0
msvcrt: NULL terminate program arguments list in __getmainargs.
2012-12-26 18:23:05 +01:00
Piotr Caban
dbec250635
msvcrt: Added _stricmp_l implementation.
2012-12-24 13:34:04 +01:00
André Hentschel
61a1213078
msvcrt/tests: Don't test function directly when reporting errno.
2012-12-20 12:00:21 +01:00
Piotr Caban
2cb51d9f4a
msvcrt: Added more setlocale tests.
2012-12-18 12:38:22 +01:00
Piotr Caban
78553db096
msvcrt: Added _atodbl tests.
2012-12-17 20:31:26 +01:00
Piotr Caban
42d5cc3c6e
msvcrt: Added __getmainargs tests.
2012-12-14 11:54:28 +01:00
Piotr Caban
d958ecbc69
msvcrt: Fixed floating point numbers printing when flags.Sign=' '.
2012-12-12 11:59:55 +01:00
Piotr Caban
b9c71ffd42
msvcrt: Fixed get_this_pointer implementation.
2012-12-10 17:36:29 +01:00
Piotr Caban
59776ccc99
msvcrt: Added _tzset tests.
2012-12-10 17:36: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
Piotr Caban
9c319baa66
msvcrt: Fixed __p___mb_cur_max tests.
2012-11-07 18:12:06 +01:00
Daniel Lehman
ffa7ac7331
msvcrt: Return value from MSVCRT____mb_cur_max_func instead of pointer.
2012-11-01 19:01:34 +01:00
Piotr Caban
a9c6113c28
msvcrt: Improved parsing precision of doubles in scanf.
...
This code is based on doubles parsing in jscript lexer.
2012-11-01 15:43:21 +01:00
Piotr Caban
bab686e7d1
msvcrt: Fixed %Lf format handling in scanf.
2012-11-01 15:43:14 +01:00
Piotr Caban
b3dff995ee
msvcrt/tests: Added more RTTI tests.
2012-09-13 13:56:15 +02:00
Piotr Caban
688aa1f529
msvcrt: Skip RTTI signature==1 tests on platforms that doesn't support it.
2012-09-10 20:48:39 +02:00
Piotr Caban
33937f039f
msvcrt: Support 64-bit RTTI in __RTDynamicCast.
2012-09-05 21:56:57 +02:00
Piotr Caban
fbae5a95c3
msvcrt: Support 64-bit RTTI in __RTtypeid function.
2012-09-05 21:56:57 +02:00
Francois Gouget
88840fc849
msvcrt/tests: Add a trailing '\n' to a win_skip().
2012-08-21 17:47:47 +02:00
Piotr Caban
83024db0ae
msvcrt/tests: Execute c++ related tests on 64-bit systems.
2012-08-20 15:01:13 +02: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
7ac3c8700c
msvcrt/tests: Fix Portuguese locale test on NT4.
2012-06-14 22:21:02 +02:00
Francois Gouget
d8ed347ab3
msvcrt: Fix the name of the Portuguese locale alias.
2012-06-13 21:35:42 +02:00
Piotr Caban
dc830aa640
msvcrt: Rework wcsncpy_s to work on overlapping pointers.
2012-04-24 19:12:51 +02:00
Piotr Caban
7240170cee
msvcrt: Added more length modifiers in scanf function.
2012-04-16 18:56:15 +02:00
Piotr Caban
0cc16fc8a5
msvcrt: Fixed 'h' modifier handling when printing integers.
2012-04-16 18:56:15 +02:00
Piotr Caban
bfa3045816
msvcrt: Added support for %W and %U format in strftime.
2012-04-16 17:49:24 +02:00
Piotr Caban
a80aec4c56
msvcrt: Added support for _TRUNCATE flag in wcsncpy_s.
2012-04-12 20:39:15 +02:00
Piotr Caban
43d208d215
msvcrt/tests: Added more strftime tests.
2012-04-11 18:23:27 +02:00
Piotr Caban
ef08e80765
msvcrt: Added _Strftime implementation.
2012-04-11 18:23:23 +02:00
Piotr Caban
0f7c834bd1
msvcrt: Rewrite asctime function.
2012-04-11 18:20:14 +02:00
Robert van Herk
516bb0ba64
msvcrt: Fix file mode T (temporary file).
2012-03-28 11:47:13 +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
Akihiro Sagawa
d3e9665001
msvcrt: Add test for _mbbtombc.
2012-03-26 18:15:31 +02:00
Akihiro Sagawa
c9f1489cab
msvcrt: Implement _mbcjmstojis.
2012-03-16 11:11:07 +01:00
Akihiro Sagawa
0800572257
msvcrt: Add semi stub _mbcjmstojis implementation.
2012-03-16 11:10:54 +01:00
Akihiro Sagawa
cf7479ca85
msvcrt: Add support for _flushall to clear all input buffer.
2012-03-14 12:59:11 +01:00
Akihiro Sagawa
1a01893c74
msvcrt: Add support for fflush to clear an input buffer.
2012-03-14 12:59:10 +01:00
Akihiro Sagawa
09a7f8c196
msvcrt/tests: Add tests for fflush on input stream.
2012-03-14 12:59:09 +01:00
Piotr Caban
79c19aef29
msvcrt: Fixed printf behaviour on hexadecimal, zero-padded numbers.
2012-03-13 10:26:05 +01:00