Commit Graph

28 Commits

Author SHA1 Message Date
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
f9de4eef75 msvcrt: Fix mingw compilation issues. 2011-06-03 17:44:06 +02:00
Alexandre Julliard
a56de4c30f msvcrt: Add some missing CDECLs. 2010-11-08 18:12:57 +01:00
Eric Pouech
b0c3dc35a8 msvcrt: Implemented the _(w)getenv_s functions. 2010-11-08 18:12:57 +01:00
Eric Pouech
fc186c3bda msvcrt: Implemented _(w)dupenv_s. 2010-11-03 11:08:55 +01:00
Eric Pouech
356b2d2bc0 msvcrt: Implemented _wputenv_s. 2010-11-03 11:08:55 +01:00
Andrew Nguyen
eb09472870 msvcrt: Initialize _wenviron in Unicode environment getter function. 2010-10-07 12:00:27 +02:00
Andrew Nguyen
285e6d249f msvcrt: Initialize environ on DLL load. 2010-09-30 17:51:16 +02:00
Alexandre Julliard
7c15ae127c msvcrt: Add an MSVCRT prefix to _wenviron. 2009-10-05 14:55:09 +02:00
Dmitry Timoshkov
a88f03e22f msvcrt: Rename _environ to avoid a conflict on Solaris. 2008-01-08 12:54:40 +01: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
qingdoa daoo
330978ec9b msvcrt: Fix a TRACE message to avoid buffer overflow. 2006-04-05 10:58:41 +02:00
qingdoa daoo
35a9398ffe msvcrt: Allow environment strings longer than 512 characters. 2006-04-03 11:39:56 +02:00
Francois Gouget
4d801b66e6 Assorted spelling fixes. 2005-02-10 19:19:35 +00:00
Mike Hearn
ad4a00d35a Add some test cases for _wputenv, fix deletion of non-existent
environment variables, return -1 on error.
2004-07-19 21:23:02 +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
Alexandre Julliard
b48d812433 Rewrote getenv and _wgetenv to avoid returning a pointer to a freed
memory block.
2003-09-24 18:57:28 +00:00
Alexandre Julliard
5f31b32946 Use MSVCRT_wchar_t instead of WCHAR so that the implementation matches
the prototypes.
2002-12-19 04:21:30 +00:00
Uwe Bonnes
2f61c4a1b3 Take a snapshot of the environment strings when building the
__p__environ array and update the array on calls to _putenv.
2002-07-23 20:59:12 +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
François Gouget
3c2c02628d getenv is case insensitive. 2001-12-05 22:09:00 +00:00
Uwe Bonnes
b35d86aa13 MSVCRT_getenv: compare for the length of the key and return NULL in
case of failure.
2001-11-23 18:30:19 +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