Alexandre Julliard
1f7489d493
crtdll: Share source with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-29 21:13:43 +01:00
Piotr Caban
35e570eb09
msvcrt: Change __getmainargs signature.
...
It was changed in newer versions of msvcrt/msvcrXX dlls.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-15 15:07:03 +01:00
Alexandre Julliard
dd016c031a
msvcrt: Add some more MSVCRT prefixes to avoid conflicts with recent Mingw.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-14 18:24:46 +01:00
Alexandre Julliard
e4d34098a6
msvcrt: Fix __p__fmode() prototype.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-14 18:24:46 +01:00
Jason Edmeades
0dcfc97fcb
msvcrt: Do not put cmd.exe special environment variables into the environ.
...
All the special environment variables from the command shell which
track directory use are stripped out from the C runtime
environ/wenviron.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45320
Signed-off-by: Jason Edmeades <us@edmeades.me.uk>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-25 12:58:19 +02:00
Alex Henrie
00fe56a736
msvcrt: Don't include MSVC 8.0+ environment functions in SOs for older DLLs.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-03 19:14:06 +01:00
Piotr Caban
45c4fc7c6c
msvcrt: Remove unused variables.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-28 11:19:01 +01:00
Gijs Vermeulen
43034dee45
msvcrt: Add _get_[winmajor|winminor|osver].
...
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-27 16:46:08 +01:00
Nikolay Sivov
1411d800ee
ucrtbase: Implement _get_narrow_winmain_command_line/_get_wide_winmain_command_line.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-28 21:38:10 +09:00
Daniel Lehman
2841a05025
ucrtbase: Return initial env snapshot in _get_initial_narrow_environment.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-06 20:07:32 +09:00
Daniel Lehman
46000add48
ucrtbase: Add _get_initial_wide_environment.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-06 20:07:27 +09:00
Daniel Lehman
2ea84373cf
ucrtbase: Add some wide functions called on startup.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 12:51:09 +09:00
Martin Storsjo
a4d5bf99d4
ucrtbase: Add stub functions for narrow environment.
2015-08-28 13:15:06 +09:00
Piotr Caban
e70bf5f8c6
msvcrt: Fix compilation errors on Mingw.
2014-04-16 18:00:01 +02:00
Piotr Caban
d622ffcba0
msvcrt: Fixed closing of FindFirstFile handle in build_expanded_argv.
2013-03-01 18:03:31 +01:00
Piotr Caban
6e485f13c0
msvcrt: NULL terminate program arguments list in __getmainargs.
2012-12-26 18:23:05 +01:00
Piotr Caban
dfca87db71
msvcrt: Added _set_fmode and _get_fmode implementation.
2012-12-21 14:14:53 +01:00
Piotr Caban
678abf4064
msvcrt: Support expand_wildcards parameter in __wgetmainargs function.
2012-12-14 11:54:20 +01:00
Piotr Caban
7c39023f60
msvcrt: Fixed wildcard expanding when path is specified in __getmainargs.
2012-12-14 11:54:14 +01:00
Piotr Caban
c34769cfa1
msvcrt: Support expand_wildcards parameter in __getmainargs function.
2012-12-13 18:24:17 +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
Daniel Verkamp
1357589eca
msvcrt: Add _get_pgmptr and _get_wpgmptr.
2011-07-04 13:39:58 +02:00
Piotr Caban
f9de4eef75
msvcrt: Fix mingw compilation issues.
2011-06-03 17:44:06 +02:00
Piotr Caban
2770155532
msvcrt: Move _initterm_e implementation (from msvcr90).
2010-11-18 12:37:04 +01:00
Eric Pouech
4b94890741
msvcrt: Moved _get_osplatform to the new macros for parameters validation.
2010-11-01 12:31:58 +01:00
Andrew Nguyen
285e6d249f
msvcrt: Initialize environ on DLL load.
2010-09-30 17:51:16 +02:00
Piotr Caban
3f4eded5d4
msvcrt: Added _get_osplatform implementation.
2010-05-05 15:26:45 +02:00
Alexandre Julliard
7c15ae127c
msvcrt: Add an MSVCRT prefix to _wenviron.
2009-10-05 14:55:09 +02:00
Michael Stefaniuc
109f83614f
msvcrt: Avoid using size_t when not neededed.
2009-05-27 15:40:18 +02:00
Rein Klazes
ed20ac877c
msvcrt: Do not set the windows version to 0.5.
2009-04-20 17:29:26 +02:00
Maarten Lankhorst
83045e5cc8
msvcrt: Add CDECL to all cdecl functions.
2008-11-25 12:33:39 +01:00
Alexandre Julliard
9c29dbd987
Avoid exporting common symbols since that's broken on Mac OS X.
2008-07-21 14:47:55 +02:00
Jon Griffiths
a4037eb463
msvcrt: Implement ___setlc_active_func/___unguarded_readlc_active_add_func.
2008-07-08 12:27:54 +02:00
Hans Leidekker
3debf28215
msvcrt: Implement _wsystem and forward system to it. Respect COMSPEC environment variable.
2008-01-08 13:34:09 +01:00
Dmitry Timoshkov
a88f03e22f
msvcrt: Rename _environ to avoid a conflict on Solaris.
2008-01-08 12:54:40 +01:00
Alexandre Julliard
8f097d8c9d
msvcrt: _initterm doesn't return anything.
2007-03-14 12:26:43 +01:00
Andrew Ziem
2132eb5490
msvcrt: Fix _initterm, with tests.
2006-06-21 13:40:33 +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
401ead5c8f
msvcrt: Added _sys_errlist (based on a patch by Uwe Bonnes).
2006-01-23 19:30:21 +01:00
Mike McCormack
6dc69f5f54
Fix gcc 4.0 warnings.
2005-09-02 12:26:21 +00:00
Juan Lang
7bf1ee877d
- move _timezone to time.c, and correct its type
...
- implement _tzset, and initialize _daylight, _timezone, and _tzname
from libc values
2005-05-14 11:07:10 +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
Juan Lang
8c0ccdcb68
Use debugstr_a to avoid crash tracing long command line.
2004-12-14 15:13:05 +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
Eric Pouech
df93f2eeee
GetModuleFileName[AW] doesn't terminate the string if the buffer is
...
too small.
2004-05-19 03:22:55 +00:00
Eric Pouech
bcc2a5c540
- rewrote the file code so that streams manage low level file desc
...
(the code was written the other way around)
- reworked the flag handling code (now the stream._flag is closer to
what MS does)
- simplified temp files handling by using FILE_FLAG_DELETE_ON_CLOSE in
CreateFile
- fixed a couple of bugs
2004-05-12 00:12:26 +00:00
Jon Griffiths
622a343e9f
Implement __p__wpgmptr, _wpgmptr.
...
Avoid using static storage for pgm pointers.
2003-07-18 22:54:47 +00:00
Jon Griffiths
57915f50c7
Implemented __p__pgmptr, _pgmptr.
2003-03-15 19:38:39 +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