Rémi Bernon
d5ab1401c0
msvcrt: Lazily initialize console handles.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-12 17:28:26 +01:00
Piotr Caban
6ad42ee7f4
msvcrt: Remove MSVCRT_ prefix from wcs.c functions.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-03 21:00:22 +01:00
Piotr Caban
d784dbb899
msvcrt: Remove MSVCRT_ prefix from heap.c functions.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-01 14:00:31 +01:00
Piotr Caban
17f3f54886
msvcrt: Remove MSVCRT prefix from locale functions.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-26 23:25:38 +01:00
Piotr Caban
4fc2b72933
msvcrt: Introduce flags field to describe locale stored in thread data.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-25 22:51:35 +01:00
Alexandre Julliard
c72e1b096d
msvcrt: Move math functions to a new Unix library.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-18 20:28:05 +01:00
Piotr Caban
d3675fd611
msvcrt: Return time since CRT initialization in clock function.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-16 14:38:13 +02:00
Piotr Caban
3dff8b8213
msvcrt: Add ExternalContextBase class stub.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-23 17:07:55 +01:00
Paul Gofman
faf59e5f06
msvcrt: Handle of thread created by _beginthread should not be closed on thread detach.
...
Handle should be closed if _endthread is called or thread function
exits. If thread is terminated by ExitThread or _endthreadex, thread
handle remains valid.
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-01 21:41:22 +09:00
Daniel Lehman
e26131fea3
msvcrt: Use msvcrt free instead of HeapFree on tls data.
2015-08-26 14:15:13 +09:00
Piotr Caban
7f23c57d09
msvcr100: Add critical_section class implementation.
2014-06-24 13:31:28 +02:00
Piotr Caban
d48314c8a5
msvcrt: Don't use default process heap.
2014-04-22 14:46:43 +02:00
Piotr Caban
a6e53eaed2
msvcr90: Share the source code with msvcrt.
2014-04-16 18:05:41 +02:00
Nikolay Sivov
08422163cf
msvcrt: Prevent msvcrt.dll unloading.
2013-10-15 14:28:20 +02:00
Alexandre Julliard
66a5468676
msvcrt: Don't bother to clean up at process exit.
2013-05-20 12:28:38 +02: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
8060752c09
msvcrt: Fixed RTTI structure on 64-bit systems.
2012-09-07 11:55:32 +02:00
Piotr Caban
cf27cb4927
msvcrt: Don't overwrite mbcinfo inside setlocale.
2011-10-12 17:09:07 +02:00
Piotr Caban
5e9ee3b909
msvcrt: Fixed tmpnam and _wtmpname implementation.
2011-07-26 16:33:04 +02:00
Piotr Caban
27ff2ae967
msvcrt: Improved locale initialization.
2011-05-26 13:38:22 +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
Piotr Caban
e15ac98cbc
msvcrt: Change the way locale information is stored in __thread_data.
2011-05-25 11:46:07 +02:00
Piotr Caban
11bfced55d
msvcrt: Use _create_locale instead of setlocale during initialization.
2011-05-25 11:45:14 +02:00
Piotr Caban
2bcc9d452a
msvcrt: Close thread handle when _beginthread is used.
2011-05-25 11:44:28 +02:00
Piotr Caban
23a0d0f04a
msvcrt: Free locks after freeing io data.
2011-05-20 13:41:34 +02:00
Alexandre Julliard
a8d8e4a367
msvcrt: Implemented __control87_2.
2011-01-26 14:57:15 +01:00
Eric Pouech
71200a9818
msvcrt: Implemented (_)wcserror.
2010-11-03 11:08:56 +01:00
Alexandre Julliard
14b3db99c1
msvcrt: Make sure msvcrt doesn't get unloaded.
...
We can't initialize file handles properly a second time.
2010-05-28 20:33:27 +02:00
Piotr Caban
4134c57a91
msvcrt: Fix compilation error (x86_64-pc-mingw32).
2010-05-20 13:47:52 +02:00
Piotr Caban
4aee4c7d1c
msvcrt: Added $I10_OUTPUT implementation.
2010-05-17 14:39:29 +02:00
Piotr Caban
2548742bb4
msvcrt: Fix locale initialization.
2010-04-16 12:37:33 +02:00
Piotr Caban
59c2201a9c
msvcrt: Add helper function that returns current locale.
2010-04-15 16:51:45 +02:00
Piotr Caban
d58b385b38
msvcrt: Change implementation of setlocale.
2010-04-15 16:51:45 +02:00
Rob Shearman
c20868e0a2
msvcrt: Free memory allocated in TLS slot on module unload as well as thread exit.
2009-12-14 16:14:39 +01:00
Alexandre Julliard
f2b3df6371
msvcrt: The floating point adjust functions only make sense on i386.
2009-08-24 15:17:33 +02:00
Alexandre Julliard
4305e6d119
msvcrt: Use iob_func instead of p__iob on non-x86.
2008-12-12 10:19:55 +01:00
Alexandre Julliard
7a6c6747a9
msvcrt: Don't include msvcrt headers, instead duplicate the definitions in msvcrt.h.
2008-12-12 10:19:55 +01:00
Austin English
05faae7b5a
Spelling fixes.
2008-04-09 12:07:39 +02:00
Mikolaj Zalewski
ea824f830f
msvcrt: Fill _mbctype table in _setmbcp.
2007-08-21 12:59:56 +02:00
Michael Stefaniuc
814ca1295a
msvcrt: Move definition of 2 static inline functions up and remove the forward declaration of those. Found by sparse.
2007-06-20 13:08:48 +02:00
Dmitry Timoshkov
ada9dc9d4b
msvcrt: Make an internal function static, avoid a prototype.
2006-12-26 12:20:25 +01:00
Michael Stefaniuc
6520ee04c8
msvcrt: Win64 printf format warning fixes.
2006-10-04 09:58:47 +02:00
Alexandre Julliard
24beabfd4e
msvcrt: Explicitly specify CDECL calling convention on exported functions.
2006-06-13 11:40:23 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Alexandre Julliard
2dacd3c54e
msvcrt: Properly implemented strerror and perror (based on a patch by
...
Uwe Bonnes).
2006-01-23 19:58:10 +01:00
Alexandre Julliard
f9e5b0f5f0
msvcrt: Implemented asctime, ctime and strftime instead of using the libc ones.
...
Make the code thread-safe by using asctime_r if available.
2006-01-14 17:22:03 +01:00
Maxime Bellengé
def7563526
msvcrt: Prevent a crash if TlsGetValue returns NULL in DLL_THREAD_DETACH.
2005-12-26 12:57:06 +01:00
Marcus Meissner
9a583763ee
msvcrt: Implemented wctime(), wasctime().
...
Free thread data in DLL_THREAD_DETACH.
2005-12-21 20:23:47 +01:00
Juan Lang
e5b4a6973a
Implement signals.
2005-05-13 17:44:28 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00