Commit Graph

61 Commits

Author SHA1 Message Date
Erich E. Hoover 0a89a69913 msvcrt: Fix fscanf return when EOF is immediately after an end of line.
Signed-off-by: Erich E. Hoover <erich.e.hoover@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-22 23:04:27 +02:00
Alexandre Julliard d4ef782db7 makefiles: Build all tests with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 12:10:51 +02:00
Nikolay Sivov 60c06980cf msvcrt: Implement __strncnt().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-30 18:04:48 +01:00
Michael Stefaniuc 551ff6e966 msvcr90/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 15:09:44 +02:00
Francois Gouget c1ff2f19b5 msvcr90/tests: Make test__vsnwprintf() static.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-05 18:51:35 +01:00
Fabian Maurer 058be4304e msvcrt: Don't crash if _vsnwprintf gets NULL as format string and add test.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-04 15:04:02 +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 eb9584d7fc msvcr90: Add _fpieee_flt tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-25 01:10:21 +09:00
Bernhard Übelacker 4fa616c37c msvcrt: Fix strtok_s and _mbstok_s for empty strings.
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-18 20:38:15 +09:00
Alex Henrie 0c4e073551 msvcr90: Add tests for mbstowcs and wcstombs with a negative count.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-14 19:20:23 +09:00
Sebastian Lackner 155d3b192b msvcr90/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:28 +09:00
Iván Matellanes f896cd3dc9 msvcrt: _filbuf should not lock any file. 2014-10-31 15:35:19 +09:00
Iván Matellanes 4bb80afedc msvcrt: Added _fflush_nolock implementation.
Thanks to Piotr Caban for the test.
2014-10-27 19:03:57 +09:00
Piotr Caban 87bfb306bd msvcr80: Add __AdjustPointer implementation. 2014-05-07 18:57:35 +02:00
Alexandre Julliard 3e40fea9d6 makefiles: Automatically add the necessary msvcrt flags to the generated rules. 2014-01-08 14:34:15 +01:00
Piotr Caban 32858d1811 msvcr90: Add _is_exception_typeof implementation. 2014-01-06 20:52:40 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Michael Stefaniuc d37c7ecacf msvcr90/tests: Use the W form of CreateEvent(). 2013-10-02 11:02:36 +02:00
André Hentschel 7ae776c26b msvcr90/tests: Add more ARM forwards and use them in tests. 2013-08-28 11:35:52 +02:00
Vincent Povirk 5f2e48f737 msvcrt: _[w]access_s returns an error code. 2013-08-22 10:27:54 +02:00
Piotr Caban eb13a49de9 msvcrt: Add some _mbstok tests. 2013-06-21 16:23:35 +02:00
Piotr Caban d36c6452ce msvcr90: Check more fields in _getptd tests. 2013-03-05 12:44:43 +01:00
Piotr Caban f25d91f6e7 msvcr90: Fixed non-blocking file access tests. 2012-12-06 13:02:28 +01:00
Alexandre Julliard 9e76bcf331 msvcr90/tests: Fix tests for errno values. 2012-07-26 11:06:37 +02:00
André Hentschel f09a40a215 msvcrt: Add tmpfile_s implementation. 2012-07-18 11:49:19 +02:00
André Hentschel f320f6cf48 msvcrt: Add bsearch_s implementation by reusing code and tests from ntdll. 2012-07-17 14:21:32 +02:00
Piotr Caban e24e6eb278 msvcr90: Added _byteswap_{ushort,ulong,uint64} implementation. 2012-04-17 11:46:33 +02:00
Piotr Caban abd0f4318e msvcr90/tests: Added nonblocking FILE functions test. 2011-11-16 17:01:25 +01:00
Piotr Caban 6aea3dcf25 msvcr90: Added __vswprintf_l implementation. 2011-11-15 19:37:34 +01:00
Piotr Caban 197826b12d msvcr90/tests: Added _getptd tests. 2011-05-25 11:48:02 +02:00
Piotr Caban 696ba80347 msvcr90/tests: Don't check if msvcr90 functions exists. 2011-05-25 11:47:11 +02:00
Alexandre Julliard de8dc80c85 msvcr90/tests: Fix the type info test for 64-bit. 2011-02-16 14:00:38 +01:00
Austin English c64a420ddb msvcr90/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-10 10:28:01 -06:00
Nikolay Sivov 8723149037 msvcrt: Partially implement type_info::name_internal_method(). 2011-02-03 16:27:22 +01:00
Andrew Nguyen 39eb51f978 msvcr90/tests: Avoid casting away const in comparison functions. 2011-02-01 12:38:57 +01:00
Nikolay Sivov 81c4f2a25f msvcrt: Forward _realloc_crt to realloc. 2011-01-28 12:00:10 +01:00
Nikolay Sivov 8d09b40835 msvcrt: Implement _wsopen_s. 2011-01-27 14:14:41 +01:00
Nikolay Sivov 2a6060f4c4 msvcrt: Implemented _sopen_s. 2011-01-26 15:00:13 +01:00
Nikolay Sivov 03ca06e791 msvcrt: Partially implement _set_abort_behavior. 2011-01-20 12:54:50 +01:00
Nikolay Sivov ad6bc94491 msvcrt: Add _atoflt and _atoflt_l implementations. 2011-01-19 12:22:27 +01:00
Eric Pouech cecddb3216 msvcr90: Fix an integer overflow on 64 bit system for qsort_s tests. 2010-12-27 11:48:55 +01:00
Alexandre Julliard f53d82b4f4 msvcrt: Fix controlfp_s parameter checks, with tests. 2010-11-27 20:40:14 +01:00
Vincas Miliūnas 5083f0d20c msvcr90/tests: Added qsort_s tests. 2010-11-18 12:52:22 +01:00
Eric Pouech d38196a0ff msvcrt: Use the macros for parameter checking for wcsncat_s (and fix the test). 2010-11-16 12:02:00 +01:00
Eric Pouech 9df3f06cb9 msvcrt: Use macro for parameters validation itoa_s (and update the tests as well). 2010-11-12 11:59:39 +01:00
Piotr Caban 3b7a5d410e msvcr90/tests: Make some tests fail if invalid_parameter_handler was not invoked. 2010-10-25 13:52:51 +02:00
Alexandre Julliard 730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Alexandre Julliard bd9852cd6f makefiles: Rename the SRCDIR, TOPSRCDIR and TOPOBJDIR variables to follow autoconf conventions. 2010-09-19 12:40:12 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00