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
8715d89c49
msvcr110: Add __crtInitializeCriticalSectionEx implementation.
2014-06-26 19:00:38 +02:00
Thomas Faber
1ab9c79dca
msvcrt: Do not omit mandatory argument to VirtualProtect.
2014-06-23 10:17:40 +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
Piotr Caban
b703afda86
msvcrt: Rewrite qsort function.
2014-05-21 12:07:41 +02:00
Piotr Caban
b7c5e341ae
msvcr110: Share the source code with msvcrt.
2014-04-17 13:30:47 +02:00
Piotr Caban
beeea28a53
msvcr100: Move functions implementation to msvcrt.
2014-04-16 18:00:15 +02:00
Piotr Caban
e70bf5f8c6
msvcrt: Fix compilation errors on Mingw.
2014-04-16 18:00:01 +02:00
Piotr Caban
7fb5cca3e4
msvcrt: Don't forward qsort to ntdll.
2013-10-01 13:10:21 +02:00
Piotr Caban
5fce0724ed
msvcrt: Don't forward bsearch to ntdll.
2013-10-01 13:10:21 +02:00
Piotr Caban
9c4be83a78
msvcrt: Added _set_output_format implementation.
2013-03-27 12:13:20 +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
André Hentschel
f320f6cf48
msvcrt: Add bsearch_s implementation by reusing code and tests from ntdll.
2012-07-17 14:21:32 +02:00
Piotr Caban
f9de4eef75
msvcrt: Fix mingw compilation issues.
2011-06-03 17:44:06 +02:00
Piotr Caban
18b8f951bf
msvcrt: Added _resetstkoflw implementation.
2011-04-21 16:53:43 +02:00
Nikolay Sivov
0512829a27
msvcrt: Add _get_output_format() and return default value.
2011-03-09 12:30:30 +01:00
Vincas Miliūnas
955e2f9050
msvcrt: Added qsort_s implementation.
2010-11-18 12:46:59 +01:00
Marcus Meissner
f10af18f28
msvcrt: Add some missing CDECL.
2010-05-13 11:51:00 +02:00
Andrew Nguyen
841fc1805e
msvcrt: Implement and test rand_s.
2010-01-18 14:30:00 +01:00
Alexandre Julliard
0cb406ef29
msvcrt: Add call frame annotations in x86 assembly code.
2009-06-25 12:05:09 +02:00
Alexandre Julliard
82f175e9b5
msvcrt: Replace long by MSVCRT_long.
2009-05-23 11:57:39 +02:00
Tijl Coosemans
6bbd3cacb8
msvcrt: Resolve symbols clashes with FreeBSD libc.
2007-09-19 15:01:33 +02:00
Joel Parker
2319999a05
Remove redundant semicolons for ANSI compatibility.
2007-01-17 11:58:15 +01:00
Andrew Talbot
c5df5717e9
msvcrt: Cast-qual warnings fix.
2006-09-20 12:23:32 +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
ad8cb6133e
msvcrt: Reimplement rand() and srand() to use per-thread data for the
...
random seed.
2006-01-14 17:27:28 +01:00
Alexandre Julliard
cc01e8ff05
Preserve 16-byte stack alignment in the various assembly
...
functions. Needed for MacOSX.
2005-11-23 19:55:06 +01:00
Eric Pouech
b379e420ed
Fixes for function prototypes without arguments.
2005-09-06 09:27:37 +00:00
Dimitrie O. Paun
0377462460
Split the MSVCRT implementation headers from the public headers.
...
Fix some naming conventions aberrations.
Add tests to ensure consistency between the two sets of symbols.
2004-06-25 01:19:15 +00:00
Patrik Stridvall
070db4e5de
Fixed some issues found by winapi_check.
2004-05-17 21:08:31 +00:00
Alexandre Julliard
2c8a52ebad
Implemented _chkesp, based on a patch by Jon Griffiths.
2003-03-15 22:26:09 +00:00
Alexandre Julliard
3f5ff2fba2
Avoid including other headers from the msvcrt headers, duplicate some
...
definitions instead like Windows does.
Always define wchar_t (suggested by Dimitrie O. Paun), and use wchar_t
everywhere instead of WCHAR to avoid depending on Windows headers.
2002-12-18 20:17:20 +00:00
Gregg Mattinson
7c4cb515b6
Cast void* to char* for pointer arithmetic.
2002-07-03 21:10:43 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard
bd1689ec0a
Don't include debugtools.h in the header file, moved it to the C files
...
that need it (and used the new wine/debug.h while we are at it).
2002-01-22 00:57:16 +00:00
Francois Gouget
b29120d2c4
Add msvcrt/malloc.h (for the MFC).
...
Add msvcrt/search.h.
Move duplicated definitions to the new headers.
Use malloc.h instead of stdlib.h when sensible.
2001-04-23 18:20:55 +00:00
Francois Gouget
e7f75c5dfb
Include the msvcrt headers, remove duplicate definitions.
...
Fixed the signature of a few functions.
Don't use wcs* functions, use *W (from unicode.h) instead.
2001-04-10 23:25:25 +00:00
Francois Gouget
203a8f8290
Adjust the 'MSVCRT_' prefix to match the msvcrt headers
...
Prefix internal methods with 'msvcrt_' instead of 'MSVCRT_', '__MSVCRT_', etc.
Remove '_cdecl', it's unnecessary
2001-04-10 21:16:07 +00:00
Jon Griffiths
34c786b2db
- New msvcrt unicode functions, winapi_check/-Wall/-W clean.
...
- Forward to ntdll where possible.
- Fix some .spec entries with incorrect parameters.
2001-01-22 02:21:54 +00:00
Jon Griffiths
1db20bfd33
- Migrate CRTDLL to MSVCRT.
...
- Many fixes and a load of new functions.
2001-01-10 23:59:25 +00:00