Commit Graph

1314 Commits

Author SHA1 Message Date
Akihiro Sagawa cf7479ca85 msvcrt: Add support for _flushall to clear all input buffer. 2012-03-14 12:59:11 +01:00
Akihiro Sagawa 58d6a9a331 msvcrt: Add a helper function to flush all buffers. 2012-03-14 12:59:10 +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
Piotr Caban c39793087d msvcrt: Handle negative file->_cnt value in _flsbuf function. 2012-02-07 09:32:20 -06:00
Eric Pouech f8b29a0685 msvcrt: Fix TRACE format modifier for wfreopen. 2012-02-06 10:19:32 -06:00
Dmitry Timoshkov 42157151d0 msvcrt: Add some tests for strftime/wcsftime. 2012-01-10 17:55:51 +01:00
Daniel Lehman 08aa6ae52d msvcrt: Add _snwprintf_l. 2012-01-09 12:52:17 +01:00
Daniel Lehman 85559848ff msvcrt: Sync _wtempnam with _tempnam. 2012-01-09 12:52:16 +01:00
Alexandre Julliard 446a6b3556 msvcrt: Use the correct type for findnext64. 2012-01-06 21:57:38 +01:00
Alexandre Julliard 2a1ce301fa msvcrt: Don't name a local variable 'errno'. 2012-01-06 21:48:56 +01:00
Daniel Lehman 5a3695ccee msvcrt: Make WEOF returned from swscanf signed. 2012-01-06 19:24:16 +01:00
Marcus Meissner b057a3e898 msvcrt: Mark various internal functions as hidden. 2012-01-03 12:37:32 +01:00
Piotr Caban 17f0ee4622 msvcrt: NULL terminate strings returned by _Getdays and _Getmonths. 2011-12-28 17:50:11 +01:00
André Hentschel 825a25ef96 msvcrt/tests: Fix two test messages. 2011-12-27 16:55:06 +01:00
Piotr Caban 283c07b8ce msvcp90: Added ctype<char>::tolower functions implementation. 2011-12-21 18:05:47 +01:00
Alexandre Julliard 88d632aec3 msvcrt: Fix formatting of pointers in printf. 2011-12-21 16:05:04 +01:00
Piotr Caban 516a65a605 msvcrt/tests: Added _Gettnames tests. 2011-12-07 17:50:05 +01:00
Piotr Caban d82dd2a4db msvcrt: Added _Getmonths implementation. 2011-12-07 17:50:05 +01:00
Piotr Caban 7a43f0cb8f msvcrt: Added _Getdays implementation. 2011-12-07 17:50:05 +01:00
Piotr Caban 4bb1e9c32a msvcrt: Added _Gettnames implementation. 2011-12-07 17:50:04 +01:00
Piotr Caban 344883fb85 msvcrt: Initialize lc_time_curr inside create_locale. 2011-12-07 17:50:04 +01:00
Piotr Caban dbff7a1ca2 msvcrt: Fix lc_collate_cp initialization. 2011-12-06 15:51:00 +01:00
Piotr Caban f84858ac2c msvcrt: Added _get_current_locale implementation. 2011-12-06 15:51:00 +01:00
Akihiro Sagawa 28184600e7 msvcrt: Add validity checks for _mbstrlen_l. 2011-12-01 14:17:35 +01:00
Akihiro Sagawa 13aff6dc56 msvcrt: Fix wctob in C locale. 2011-12-01 14:16:30 +01:00
Akihiro Sagawa f9403bfb90 msvcrt: Use given locale info in _mbtowcs_l. 2011-12-01 14:15:12 +01:00
André Hentschel f012242037 msvcrt: Implement _wasctime_s. 2011-11-30 17:04:39 +01:00
André Hentschel 35722cb4ce msvcrt: Implement asctime_s. 2011-11-30 17:04:35 +01:00
Eric Pouech d7bc2eff2f msvcrt: Implemented _ultow_s. 2011-11-29 13:23:47 +01:00
Piotr Caban 66520ea08a msvcrt: Fix FILE critical section initialization. 2011-11-24 20:57:01 +01:00
Piotr Caban 3fe5e6ee8a msvcrt: Keep FILE critical section initialized after closing file. 2011-11-23 14:14:39 +01:00
Frédéric Delanoy 520a92de33 msvcrt: Avoid hardcoding array lengths. 2011-11-23 09:11:22 +01:00
Francois Gouget d78bfe1149 msvcrt: Statically initialize and name the MSVCRT_file_cs critical section. 2011-11-16 17:02:10 +01:00
Piotr Caban 764b85511c msvcrt: Don't use fputc in flsbuf implementation. 2011-11-16 17:01:09 +01:00
Piotr Caban e4ac347075 msvcrt: Don't hold FILE critical section in some functions. 2011-11-15 19:37:37 +01:00
André Hentschel 947d1bf588 msvcrt: Implement _wfreopen_s. 2011-11-15 11:48:38 +01:00
André Hentschel ba5b0c34a8 msvcrt: Implement freopen_s. 2011-11-15 11:48:24 +01:00
Francois Gouget f2043352d1 msvcrt: Give a name to the critical sections. 2011-11-14 20:15:33 +01:00
Francois Gouget 8eef0cc258 dlls: Remove unneeded include directives in resource files. 2011-11-14 15:25:23 +01:00
Thomas Faber e374c8fe46 msvcrt: Fix MSVC build in locale.c. 2011-11-07 11:29:49 +01:00
Thomas Faber 5402827329 msvcrt: Fix MSVC build in exit.c and msvcrt.h. 2011-11-07 11:29:43 +01:00
Piotr Caban 698afdca98 msvcrt: Don't search for LCID in _setmbcp_l if it was already done. 2011-10-26 17:07:05 +02:00
Frédéric Delanoy 7bfe648666 msvcrt: Avoid superfluous cast of MSVCRT_malloc return value. 2011-10-21 12:31:36 +02:00
Piotr Caban 0bb641ad59 msvcrt: Initialize all ctype fields. 2011-10-18 18:29:19 +02:00
Marcus Meissner cd51c797f3 msvcrt: Use correct sizeof to realloc (Coverity). 2011-10-18 15:16:17 +02:00
Marcus Meissner 6ca6464cf3 msvcrt: Replaced bad memcpy by strcpy (Coverity). 2011-10-17 17:45:05 +02:00
Piotr Caban 922ae2e268 msvcrt: Fix handling of locales without region in MSVCRT_locale_to_LCID. 2011-10-14 13:12:28 +02:00
Piotr Caban 95f3be6573 msvcrt: Added missing calling convention specification. 2011-10-14 13:12:28 +02:00