Commit Graph

135 Commits

Author SHA1 Message Date
Alexandre Julliard
0ac49a9994 except_handler3: Set correct %ebp when calling exception filter. 2002-10-02 18:34:58 +00:00
Jukka Heinonen
9747c15a15 Functions sscanf and swscanf now expect strings to be terminated with
null (0) instead of EOF (-1).
2002-09-29 18:00:23 +00:00
Martin Wilck
94638aa276 MSVCRT needs a public errno.h file. 2002-09-17 18:32:53 +00:00
Martin Wilck
27a91c782e Fix MoveFileEx() flags in MSVCRT rename()/_wrename(). 2002-09-16 22:39:50 +00:00
Alexandre Julliard
1668870f38 Fixed warnings caused by new winternl.h. 2002-09-12 22:28:01 +00:00
Patrik Stridvall
9c1de6de30 Moved all the content of the DDK files ntdef.h and ntddk.h to
winternl.h.
2002-09-12 22:07:02 +00:00
Uwe Bonnes
921eef3bde Make the scanf family recognize characters again. 2002-09-09 19:18:53 +00:00
Patrik Stridvall
57bf45067a MSVC compatibility fixes. 2002-08-26 21:53:24 +00:00
Daniel Gudbjartsson
42c74d6454 Combined the implementation of all the scanf's in a single place.
Added implementations of fwscanf, swscanf, wscanf and sscanf.
Corrected the declaration of swscanf.
Added implementation of the l, h, L and w prefixes.
Added implementation of the c, C, s, S and n types.
2002-08-17 01:22:00 +00:00
Patrik Stridvall
d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Marcus Meissner
5ee517ac3d Copy va_lists by using va_copy, not by just assigning them. 2002-08-09 19:49:31 +00:00
Gregg Mattinson
8c9bdcc9e1 Fixes for Sparc build. 2002-08-07 01:18:41 +00:00
Alexandre Julliard
4c5d562c30 Add MSVCRT prefix to _stat and _fstat (based on a patch by Rafael
Kitover).
2002-07-31 20:04:57 +00:00
Alexandre Julliard
90423aa317 Fixed potential memory corruption. 2002-07-28 17:50:06 +00:00
Alexandre Julliard
37a4c9b8fe First pass implementation of CxxFrameHandler (thanks to Juergen
Schmied for help in testing it).
2002-07-24 03:02:51 +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
5f7162363c Removed non-exported string functions. 2002-07-23 20:56:16 +00:00
Alexandre Julliard
14b75f9878 Added definition of msvcrt internal error codes. 2002-07-20 20:30:57 +00:00
Alexandre Julliard
44b4235af2 Fixed per-thread data handling.
Made terminate and unexpected function pointer per-thread.
Added set_se_translator.
2002-07-19 03:24:50 +00:00
Uwe Bonnes
4ec51d090a _open_osfhandle: set at least the _IOREAD flag. 2002-07-09 01:58:27 +00:00
Uwe Bonnes
aba44fbc01 fgets, fgetws: don't treat the possible uninitialized buffers as valid
strings.
2002-07-08 20:44:33 +00:00
Uwe Bonnes
05ccdea0fa MSVCRT_fread: expose feof flag. 2002-07-08 20:44:09 +00:00
Uwe Bonnes
cfb96bddf1 Added _U@YAPAXI@Z and _V@YAPAXI@Z. 2002-07-08 19:39:18 +00:00
Uwe Bonnes
73c3033029 MSVCRT_fseek: should return 0 on success. 2002-07-08 19:39:01 +00:00
Alexandre Julliard
af0d206752 Flush stdio on exit. 2002-07-05 21:23:07 +00:00
Uwe Bonnes
d389c4bad4 MSVCRT_operator_new: Call handler only when "new" operation fails. 2002-07-05 00:18:08 +00:00
Gregg Mattinson
7c4cb515b6 Cast void* to char* for pointer arithmetic. 2002-07-03 21:10:43 +00:00
Alexandre Julliard
77afd6c47e Made some more spec file entries optional or unnecessary.
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Alexandre Julliard
7cae558bdc Removed some more trailing whitespace. 2002-06-01 02:55:48 +00:00
Vincent Béron
9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard
987d8a4ffc Fixed typo in iswalpha forward. 2002-05-25 21:10:39 +00:00
John K. Hohm
45b94449e6 Fix msvcrt._vsnwprintf format reading bug like NTDLL_vsnwprintf. 2002-05-20 18:02:47 +00:00
Francois Gouget
905cb7e316 Implemented _getws. 2002-05-19 22:21:17 +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
Warren Baird
c43b5c8f11 Some fixes for compiling on Sparc. 2002-05-16 23:08:01 +00:00
Alexandre Julliard
ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard
67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard
32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Alexandre Julliard
b53f13093e Attempt at fixing MAX_PATH issues for mingw. 2002-05-01 18:13:18 +00:00
Patrik Stridvall
fc2be7edcc Fixed some issues found by winapi_check. 2002-04-29 18:48:56 +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
Alexandre Julliard
894b188fcf Moved __ASM_GLOBAL_FUNC macros and interlocked functions to port.[ch] 2002-04-25 21:40:56 +00:00
François Gouget
7ccf8bc87d Implemented _mbsnbicmp. 2002-04-02 02:42:58 +00:00
Francois Gouget
0f4ed92098 Added missing FP_PNORM case. 2002-04-01 21:03:53 +00:00
Andriy Palamarchuk
95de1f8365 fwrite: fixed handling of already buffered data. 2002-03-27 21:03:24 +00:00
Uwe Bonnes
c63916b1ce Add stub for __lconv_init(). 2002-03-26 01:51:55 +00:00
Uwe Bonnes
d82f35eda1 __[x|]getmainargs: Accept NULL new_mode argument. 2002-03-25 20:56:20 +00:00
Andriy Palamarchuk
8c45390a7f Added check to fwrite for size == 0.
Fixed order and format of "size" and "nmemb" parameters in calls to
fwrite.
2002-03-21 01:23:32 +00:00
Bill Medland
716ffc5bef Connect the msvcrt file byte locking up to ntdll. 2002-03-20 22:50:38 +00:00
Alexandre Julliard
c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00