Commit Graph

162 Commits

Author SHA1 Message Date
Patrik Stridvall 46304a7361 Fixed some issues found by winapi_check. 2003-01-02 19:28:09 +00:00
Alexandre Julliard 7ea8a0b9be Handle unknown format chars correctly (spotted by György 'Nog'
Jeney) and added test for it.
Removed unneeded _L_ macro.
2002-12-20 00:35:41 +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 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
Bill Currie c78902221f fdopen: don't rewind the file after creating the FILE* handle. Added
unit test for that.
2002-12-17 04:18:07 +00:00
Dimitrie O. Paun 737d4be892 Move excpt.h out of include/msvcrt/ as it does not conflict with any
standard Unix header.
2002-12-12 23:34:01 +00:00
Alexandre Julliard dbf8b78acd Added .spec.def files. 2002-12-12 22:04:04 +00:00
Alexandre Julliard 72e1c64345 Added list of symbols to ignore by default in winebuild.
Made the -i option support removing ignored symbols too.
Removed the -noimport flag in spec files.
2002-12-12 02:20:47 +00:00
Alexandre Julliard 435e2e63f4 winnt.h should not be self-contained, it must depend on windef.h so
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Stefan Leichter a5d7fbfb10 Converted implementation of _lseek to _lseeki64, implemented _lseek by
calling _lseeki64.
2002-11-25 20:50:01 +00:00
Stefan Leichter b88a9d5399 Converted implementation of _stat and _fstat to _stati64 and
_fstati64.
Implemented _stat/_fstat by calling _stati64/_fstati64.
2002-11-25 02:44:34 +00:00
Alexandre Julliard 910aebbc8e Removed -noimport on functions that are forwards to ntdll.
Added -noimport on functions that directly call the libc equivalent.
2002-11-20 19:52:14 +00:00
Alexandre Julliard 083b0beb0b Implemented some ismbc* functions (based on a patch by Greg Turner). 2002-11-19 00:52:38 +00:00
Alexandre Julliard 2b6eafa0f9 Fixed data copying in msvcrt_argvtos (spotted by bill@taniwha.org). 2002-11-13 04:20:54 +00:00
Alberto Massari 43662153c0 The already implemented function swscanf was missing an entry. 2002-11-12 23:20:31 +00:00
Patrik Stridvall 517a93afe3 Fixed some issues found by winapi_check. 2002-11-06 19:57:49 +00:00
Alexandre Julliard 1e1313d54c Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Alexandre Julliard 6bd508f82c Added clobber lists to the inline assembly functions. 2002-11-01 01:50:51 +00:00
Marcus Meissner 306a60d162 _seh_longjmp_unwind is i386 only for now. 2002-10-31 22:04:53 +00:00
Alexandre Julliard 5ad69f19bf Added support for nested exceptions happening inside a catch block. 2002-10-31 02:10:15 +00:00
Uwe Bonnes a768fa3119 First version of msvcrt scanf test. 2002-10-30 23:49:03 +00:00
Michael Stefaniuc 789b4b4204 Compile the msvcrt dll with -DSTRICT. 2002-10-25 03:12:01 +00:00
Alexandre Julliard 23bb3715f7 Added support for building certain dlls with -DSTRICT.
Added -DWINE_NO_STRICT flag to dlls that don't support STRICT yet.
2002-10-18 23:46:28 +00:00
Alexandre Julliard acea9d12eb Implemented _seh_longjmp_unwind. 2002-10-16 18:59:38 +00:00
György 'Nog' Jeney e022026c93 Implement [ format specifier. 2002-10-15 02:20:07 +00:00
Alexandre Julliard d78b458ed1 Fixed sign extension bug in EH_prolog, and made trylevel an int to
avoid similar problems.
2002-10-10 17:56:48 +00:00
Alexandre Julliard 613ead7f0f Fixed some handle conversions in prevision of void* handles. 2002-10-04 00:27:10 +00:00
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