Commit Graph

1457 Commits

Author SHA1 Message Date
Michael Stefaniuc a8b63acc03 msvcrt/tests: Use assignment instead of memcpy to copy structs. 2013-01-24 15:38:50 +01:00
Marcus Meissner a8b076d67f msvcrt: read_utf8: free readbuf on return (Coverity). 2013-01-21 12:51:15 +01:00
Piotr Caban 0d0f705048 msvcrt: Added basic _popen tests. 2013-01-18 13:28:59 +01:00
Piotr Caban a968a1ad6d msvcrt: Return child exit code in _pclose function.
Based on a patch by Borut Ražem.
2013-01-18 13:28:59 +01:00
Piotr Caban 7f4e1c65b1 msvcrt: Added support for commit flag in fopen. 2013-01-18 13:28:58 +01:00
Alexandre Julliard afee133b65 msvcrt: Fix incorrect use of the system wctomb function. 2013-01-14 13:47:00 +01:00
Piotr Caban 5515170d13 msvcrt: Be less strict while parsing file open mode in fopen function. 2013-01-14 11:04:19 +01:00
Piotr Caban 8401224731 msvcrt: Added fwprintf tests. 2013-01-11 12:04:43 +01:00
Piotr Caban c1792e1a8a msvcrt: Fixed ftell behaviour when file is opened for writing in text mode. 2013-01-11 12:04:36 +01:00
Piotr Caban 1fae72e759 msvcrt: Don't add '\r' character in fputws function.
write is responsible for adding '\r' characters, don't do it twice.
2013-01-11 12:04:29 +01:00
Piotr Caban a8c2ae1751 msvcrt: Use fputwc to output characters to file in fprintf functions. 2013-01-11 12:04:18 +01:00
Piotr Caban 77f3ce0b10 msvcrt: Added fputwc tests. 2013-01-11 12:04:12 +01:00
Piotr Caban ebfa653618 msvcrt: Make fputwc encoding aware. 2013-01-11 12:04:08 +01:00
Piotr Caban 777f349829 msvcrt: Added read tests on unicode files. 2013-01-10 12:29:33 +01:00
Piotr Caban d88aa37e59 msvcrt: Added UTF8 support to read function. 2013-01-10 12:29:13 +01:00
Piotr Caban ac3cdc7ffa msvcrt: Added UTF16 support to read function. 2013-01-10 12:29:07 +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 a0ef884542 msvcrt: Added unicode modes support _setmode function. 2013-01-10 12:28:53 +01:00
Piotr Caban eeb7d0a649 msvcrt: Improved ftell implementation. 2013-01-10 12:28:47 +01:00
Piotr Caban 4ffa9364eb msvcrt: Simplify fseek implementation. 2013-01-10 12:28:39 +01:00
Piotr Caban 568a3be869 msvcrt: Call ftell function in fgetpos. 2013-01-10 12:28:32 +01:00
Piotr Caban 6e011b8310 msvcrt: Fixed handling of '\r' when it's the last character in the buffer in read. 2013-01-10 12:28:24 +01:00
Piotr Caban 5778bdbc3a msvcrt: Added write tests on unicode files. 2013-01-10 12:28:09 +01:00
Piotr Caban 94e3647533 msvcrt: Added support for unicode mode in write function. 2013-01-10 12:27:48 +01:00
Piotr Caban 617bf861ef msvcrt: Added fopen_s test with ccs option. 2013-01-10 12:27:42 +01:00
Piotr Caban 447f4fa51c msvcrt: Call _wsopen_s function in _sopen_s. 2013-01-10 12:27:36 +01:00
Piotr Caban 424ce2d2f5 msvcrt: Added support for unicode text mode in open functions family. 2013-01-10 12:27:10 +01:00
Piotr Caban 96be6eb570 msvcrt: Added support for unicode open mode in msvcrt_get_flags function. 2013-01-10 12:26:53 +01:00
Piotr Caban a6daa3519d msvcrt: Don't duplicate wfsopen functionality in wfrepopen. 2013-01-10 12:23:49 +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 eaa1b70603 msvcrt: Added _strnicmp_l implementation. 2012-12-26 18:23:05 +01:00
Piotr Caban dbec250635 msvcrt: Added _stricmp_l implementation. 2012-12-24 13:34:04 +01:00
Piotr Caban dfca87db71 msvcrt: Added _set_fmode and _get_fmode implementation. 2012-12-21 14:14:53 +01:00
Piotr Caban 76969a8651 msvcrt: Don't call local_unwind2 when Cookie equals MSVCRT_JMP_MAGIC in longjmp. 2012-12-20 12:23:20 +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 7771552f24 msvcrt: Don't fail when _aligned_offset_malloc is used with size=0. 2012-12-19 14:38:58 +01:00
Piotr Caban 1f784a1001 msvcrt: Use CompareString in wcscoll functions. 2012-12-18 12:38:48 +01:00
Piotr Caban 0c91daee8b msvcrt: Use LC_COLLATE category in strcoll functions. 2012-12-18 12:38:39 +01:00
Piotr Caban 2cb51d9f4a msvcrt: Added more setlocale tests. 2012-12-18 12:38:22 +01:00
Piotr Caban a406d538bb msvcrt: Fixed locale matching code. 2012-12-18 12:38:17 +01:00
Piotr Caban 7afc98a7f7 msvcrt: Fixed codepage setting code in create_locale. 2012-12-18 12:38:12 +01:00
Andrew Talbot 4c191378e9 msvcrt: Indentation fix. 2012-12-18 12:35:14 +01:00
Piotr Caban 78553db096 msvcrt: Added _atodbl tests. 2012-12-17 20:31:26 +01:00
Piotr Caban 3b5ab1b48f msvcrt: Added _atodbl_l implementation. 2012-12-17 20:31:25 +01:00
Piotr Caban 38bf8ac44b msvcrt: Don't duplicate floating-point number parsing code in MSVCRT__atoflt_l. 2012-12-17 20:31:24 +01:00
Austin English c8e71e9a3e msvcrt: Implement memcpy in msvcrt instead of forwarding to ntdll. 2012-12-14 12:15:05 +01:00
Austin English a79de8aa29 msvcrt: Implement _ftol in msvcrt instead of forwarding to ntdll. 2012-12-14 12:13:39 +01:00