Commit Graph

86 Commits

Author SHA1 Message Date
Piotr Caban a6400b9fe7 msvcr: Add _Wcsftime implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-14 20:10:22 +01:00
Piotr Caban 17186413fe msvcr: Add _get_dstbias implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-28 20:40:02 +01:00
Piotr Caban e38cbd82bd msvcrt: Add wcsftime_l.
Based on Daniel Lehman's patch.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 12:07:56 +09:00
Piotr Caban 1505684a85 msvcrt: Add _strftime_l.
Based on Daniel Lehman's patch.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 12:07:46 +09: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 7dfb21a9db msvcrt: Fix parameters conversion in wcsftime function.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 12:07:22 +09:00
Piotr Caban d4450b9195 msvcr110: Fix __lc_time_data definition.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 21:19:21 +09:00
Piotr Caban ecac39c19b msvcrt: Add _wctime32_s implementation. 2015-09-15 17:02:11 +09:00
Nikolay Sivov 1228f0bba5 msvcrt: Added __dstbias() export. 2014-09-10 21:36:52 +02:00
Piotr Caban c18d52d346 msvcrt: Don't crash on NULL struct _tm in asctime. 2014-05-12 19:30:16 +02:00
Piotr Caban beeea28a53 msvcr100: Move functions implementation to msvcrt. 2014-04-16 18:00:15 +02:00
Daniel Lehman 15b35f4d37 msvcrt: Return wall-clock time from clock(). 2013-11-25 19:30:20 +01:00
Frédéric Delanoy f6677602e3 msvcrt: Use BOOL type where appropriate. 2013-10-11 11:05:59 +02:00
Piotr Caban d3ecfe0599 msvcrt: Fixed _localtime64 implementation. 2012-12-10 17:36:28 +01:00
Piotr Caban 11216fabc4 msvcrt: Reorganize _localtime64 function. 2012-12-10 17:36:28 +01:00
Piotr Caban acac63663a msvcrt: Improved input parameter range check in _gmtime64_s. 2012-12-10 17:36:28 +01:00
Piotr Caban c9a7436812 msvcrt: Fixed mkgmtime and _mkgmtime64 implementation. 2012-12-10 17:36:27 +01:00
Piotr Caban a66ed048a3 msvcrt: Fixed mktime and _mktime64 implementation. 2012-12-10 17:36:27 +01:00
Piotr Caban 351dff91de msvcrt: Reimplement _tzset function. 2012-12-10 17:36:26 +01:00
Alexandre Julliard 06989a0483 msvcrt: Make sure that errno is always set when calling the invalid parameter handler. 2012-07-26 11:05:32 +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 ef08e80765 msvcrt: Added _Strftime implementation. 2012-04-11 18:23:23 +02:00
Piotr Caban 2ca9a73a31 msvcrt: Rewrite wasctime function. 2012-04-11 18:20:34 +02:00
Piotr Caban 0f7c834bd1 msvcrt: Rewrite asctime function. 2012-04-11 18:20:14 +02: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
Andrew Talbot fb3b28f013 msvcrt: void functions should not return a value. 2011-08-22 16:14:31 +02:00
Piotr Caban f9de4eef75 msvcrt: Fix mingw compilation issues. 2011-06-03 17:44:06 +02:00
Piotr Caban 12229aeeb2 msvcrt: Change the way how localtime/gmtime buffer is stored in __thread_data. 2011-05-25 11:46:16 +02:00
Eryk Wieliczko b6acca6696 msvcrt: Implement _ftime64_s and _ftime32_s. 2010-12-29 12:05:23 +01:00
Michael Stefaniuc 33c528188d msvcrt: Add missing dereference of the time pointer. 2010-11-24 12:06:36 +01:00
Eryk Wieliczko 504e68ac24 msvcrt: Implement _ctime32/64_s. 2010-11-23 14:16:22 +01:00
Eryk Wieliczko 7b8ac6a255 msvcrt: Implement _get_tzname. 2010-11-04 12:21:26 +01:00
Andrew Nguyen 6086610314 msvcrt: Implement _localtime32_s. 2010-10-11 17:11:37 +02:00
Andrew Nguyen 90771ab605 msvcrt: Use the write_invalid_msvcrt_tm helper in _gmtime64_s. 2010-10-11 17:11:37 +02:00
Andrew Nguyen e245cb52c6 msvcrt: Implement _localtime64_s. 2010-10-11 17:11:37 +02:00
Andrew Nguyen ac26d786c4 msvcrt: Convert the Unix asctime string from CP_UNIXCP to CP_ACP. 2010-09-28 17:33:15 +02:00
Piotr Caban 6467c8325f msvcrt: Added _gmtime32_s and _gmtime64_s implementation. 2010-08-27 12:06:00 +02:00
Piotr Caban 471bad1ee8 msvcrt: Added _strdate_s and _wstrdate_s implementation. 2010-08-27 12:05:42 +02:00
Piotr Caban 7d0c04d31c msvcrt: Added _strtime_s and _wstrtime_s implementation. 2010-08-27 12:05:10 +02:00
Piotr Caban c4d6877894 msvcrt: Added _mkgmtime implementation. 2010-04-27 13:04:45 -05:00
Piotr Caban 8c954c0957 msvcrt: Avoid using localtime_r. 2010-03-29 15:50:20 +02:00
Alexandre Julliard 82f175e9b5 msvcrt: Replace long by MSVCRT_long. 2009-05-23 11:57:39 +02:00
Alexandre Julliard 8408e3a955 msvcrt: Add explicit 32- and 64-bit versions of the time functions. 2009-05-23 11:12:12 +02:00
Michael Stefaniuc 9d4c9a0cdd msvcrt: Remove superfluous pointer casts. 2009-01-29 14:06:15 +01:00
Alexandre Julliard 8a658d7d51 msvcrt: Rename _ftime to avoid conflicts. 2008-12-15 20:08:33 +01:00
Alexandre Julliard d8ab5a14aa msvcrt: Use intptr_t or size_t instead of long where appropriate. 2008-12-12 10:19:55 +01:00
Michael Stefaniuc 276b938e1d msvcrt: Use NULL instead of casting zero. 2008-12-05 12:36:19 +01:00
Jeff Zaroyko 82f77cc17a msvcrt: Avoid a NULL pointer deref in ctime. 2008-10-02 11:24:01 -05:00
Dmitry Timoshkov e98d1da7d4 msvcrt: Restore error handling code in localtime. 2007-08-21 21:39:03 +02:00