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
Alexandre Julliard
90423aa317
Fixed potential memory corruption.
2002-07-28 17:50:06 +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
702b158e70
Export global argc/argv variables from libwine and remove the
...
__wine_get_main_args functions from ntdll.
2002-05-16 23:16:01 +00:00
Alexandre Julliard
5769d1de00
Better support for configure detection of missing types, added check
...
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +00:00
Uwe Bonnes
d82f35eda1
__[x|]getmainargs: Accept NULL new_mode argument.
2002-03-25 20:56:20 +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
20560f4535
Initialize argc/argv/wargv by calling ntdll.__wine_get_{w}main_args.
2001-09-07 19:47:30 +00:00
Francois Gouget
30a3d18a32
Call FreeEnvironmentStrings when msvcrt is unloaded.
2001-05-31 21:33:19 +00:00
Eric Pouech
2f6744b37c
Correctly generate the environment global variables.
2001-05-22 19:17:26 +00:00
Francois Gouget
ee285b7ac8
Remove unnecessary single quoting of debugstr_xxx strings.
2001-05-11 20:03:40 +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
Alexandre Julliard
3fe81b46d3
__getmainargs last argument is a pointer to new_mode.
2001-02-21 02:20:08 +00:00
Dmitry Timoshkov
5ab5e1c5df
Fix prototypes of MSVCRT___getmainargs and MSVCRT___wgetmainargs.
...
Protect MSVCRT__acmdln global variable from corruption.
2001-02-20 00:51:49 +00:00
Patrik Stridvall
4fb3aa5fcd
Fixed some issues found by winapi_check.
2001-02-12 03:45:09 +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