Commit Graph

1699 Commits

Author SHA1 Message Date
Iván Matellanes c53e0384a5 msvcrt: Added _fseek_nolock implementation. 2014-10-16 13:02:24 +09:00
Iván Matellanes 5077d8c137 msvcrt: Added _fseeki64_nolock implementation. 2014-10-16 13:02:16 +09:00
Iván Matellanes 50574ccffa msvcrt: Added _ftell_nolock implementation. 2014-10-16 13:02:08 +09:00
Iván Matellanes 7cf0c877b3 msvcrt: Added _ftelli64_nolock implementation. 2014-10-16 13:01:59 +09:00
Iván Matellanes 25d7a1bbbf msvcrt: Added _fwrite_nolock() implementation. 2014-10-13 18:09:06 +09:00
Iván Matellanes 206ea48f20 msvcrt: Added _fread_nolock() implementation. 2014-10-13 18:08:54 +09:00
Iván Matellanes 9fda14a9d6 msvcrt: Added _fclose_nolock() implementation. 2014-10-08 14:47:46 +02:00
Francois Gouget f63fd82610 msvcrt: Prefix _set_output_format() with MSVCRT_ to avoid a collision with MinGW. 2014-09-15 10:12:24 +02: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 43be238331 msvcr80: Throw bad_alloc exception when operator new fails. 2014-09-02 20:54:47 +02:00
Piotr Caban 53869e19eb msvcrt: Add _strnset_s implementation. 2014-09-02 15:07:27 +02:00
Nikolay Sivov 60de49770c msvcrt: Implement llabs(). 2014-08-29 20:38:42 +02:00
Piotr Caban d3a48ee342 msvcrt: Only check for flag presence in isatty function. 2014-08-04 16:18:10 +02:00
Piotr Caban a566569305 msvcrt: Always set fd to -1 in _sopen_s on failure. 2014-07-10 15:23:02 +02:00
Piotr Caban 0350b6c7fd msvcrt: Fix buffer allocation in setvbuf. 2014-06-30 22:04:52 +02:00
Frédéric Delanoy b9e306ee78 msvcrt: Avoid potential integer overflow when computing median position in bsearch. 2014-06-30 22:04:52 +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 fffbc8e570 msvcrt: Use file->_flag to check if file buffering is enabled. 2014-06-27 10:37:51 +02:00
Piotr Caban 18a416f7d5 msvcrt: Support NULL buffer in setvbuf. 2014-06-26 19:00:41 +02:00
Piotr Caban 1ae475dae8 msvcrt: Fix ungetc on files with empty buffer. 2014-06-26 19:00:41 +02:00
Piotr Caban f91f24f6e7 msvcrt: Fix _flsbuf behavior on streams with MSVCRT__IONBF flag. 2014-06-26 19:00:40 +02:00
Piotr Caban 8715d89c49 msvcr110: Add __crtInitializeCriticalSectionEx implementation. 2014-06-26 19:00:38 +02:00
Piotr Caban 3fa2bb2dce msvcp110: Add _Mtx_{destroy,getconcrtcs,init,lock,unlock,trylock} implementation. 2014-06-26 19:00:36 +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
Piotr Caban 5175037b63 msvcr110: Add critical_section::try_lock_for implementation. 2014-06-24 13:31:29 +02:00
Piotr Caban 7f23c57d09 msvcr100: Add critical_section class implementation. 2014-06-24 13:31:28 +02:00
Piotr Caban dab6417923 msvcr100: Add critical_section::scoped_lock implementation. 2014-06-24 13:31:28 +02:00
Piotr Caban 6c35e765c8 msvcr100: Add critical_section class stub. 2014-06-24 13:31:27 +02:00
Thomas Faber 1ab9c79dca msvcrt: Do not omit mandatory argument to VirtualProtect. 2014-06-23 10:17:40 +02:00
Piotr Caban cda83f9c33 msvcr100: Add _SpinWait implementation. 2014-06-23 10:07:01 +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
Piotr Caban 608605c7dc msvcrt: Allocate data with 16-bytes alignement if small blocks heap is used. 2014-06-18 19:54:27 +02:00
Alexandre Julliard 762c94144f msvcrt/tests: Avoid size_t in traces. 2014-06-18 19:52:38 +02:00
Piotr Caban 8436b58ee7 msvcrt: Use size_t to store indexes in qsort.
It also avoids potential overflow while computing median
position (found by Frédéric Delanoy).
2014-06-17 13:03:13 +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
Grazvydas Ignotas 9614283996 msvcrt: Free old buffer properly in setvbuf. 2014-06-17 12:35:22 +02:00
Piotr Caban b540277cc7 msvcrt: Add _wcsxfrm_l implementation. 2014-06-12 18:25:27 +02:00
Piotr Caban 00bce25143 msvcrt: Add _strxfrm_l implementation. 2014-06-12 18:25:23 +02:00
Piotr Caban b0424313fd msvcrt: Handle negative file->_cnt value in fwrite. 2014-06-11 19:15:26 +02:00
Piotr Caban 28830b4b36 msvcrt: Return string in _wcslwr and _wcslwr_l. 2014-06-11 13:02:52 +02:00
Piotr Caban 31c76cae7c msvcrt: Add _wcslwr_s_l implementation. 2014-05-24 11:01:28 +09: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 b703afda86 msvcrt: Rewrite qsort function. 2014-05-21 12:07:41 +02:00
Piotr Caban 153965b627 msvcrt: Fix __libm_sse2_sqrt_precise implementation. 2014-05-19 18:55:53 +02:00