Commit Graph

59 Commits

Author SHA1 Message Date
Andrew Talbot 6176fa469a crtdll: Supress sign-extension through integer promotion. 2011-09-22 09:39:24 +02:00
Alexandre Julliard bb33b0a21d msvcrt: Add __cdecl to all function prototypes. 2008-12-17 15:00:28 +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
Michael Stefaniuc 41dd56cb7f "One liners" printf format warning fixes for the migration of DWORD/LONG/ULONG from long to int. 2006-09-29 16:09:24 +02:00
Alexandre Julliard 40cbe19e49 crtdll: Explicitly specify CDECL calling convention on exported functions. 2006-06-12 21:35:20 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Francois Gouget 821d4c4645 Fix nativeapi.pm so it knows about AC_HEADER_STAT().
Make the error message about unexpected '#ifdef HAVE_XXX' clearer.
Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX'
check.
2005-05-06 16:22:54 +00:00
Steven Edwards 14e3b19cd0 Fixes for building with w32api headers on Mingw. 2003-08-22 05:05:56 +00:00
Dmitry Timoshkov 4e1ef0c114 For all DLLs with defined DllMain and which do not require
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Patrik Stridvall 46304a7361 Fixed some issues found by winapi_check. 2003-01-02 19:28:09 +00:00
Alexandre Julliard 2aed5d77ff Made crtdll a normal user of msvcrt by setting the right include
path.
2002-12-18 20:17:51 +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 b34fb35b31 Fixed warnings caused by conversion to -DSTRICT. 2002-10-18 23:48:57 +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 d0c8725360 Fixed broken forwards reported by Patrik Stridvall. 2002-07-23 02:08:12 +00:00
Alexandre Julliard 945bb366d7 struct _stat layout is different between crtdll and msvcrt. 2002-06-13 21:42:01 +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
Francois Gouget d81ce0fc6a Fix the signature of __GetMainArgs and __getmainargs (from msvcrt). 2001-04-10 23:25:40 +00:00
Alexandre Julliard 3fe81b46d3 __getmainargs last argument is a pointer to new_mode. 2001-02-21 02:20:08 +00:00
Alexandre Julliard 91ab1208c4 Fixed __GetMainArgs. 2001-02-20 01:56:46 +00:00
Jon Griffiths 0b47b289a8 Turn crtdll into forwards to msvcrt. 2001-01-12 20:42:06 +00:00
Ulrich Weigand 2e8e2334c6 Don't link with libw if libc already contains w* routines.
Link every library with libnsl if required.
Include ieeefp.h where necessary.
2000-12-27 18:49:08 +00:00
Dmitry Timoshkov 81cb2387e0 Do not free the not owned error string. 2000-12-21 20:18:40 +00:00
Jon Griffiths 5d4cf0679a - Add several mbcs and CP 932 functions, fix some existing calls
- Bug fixes, -W warnings and winapi_check updates.
- Don't be so strict setting default locale, store codepage
2000-12-19 23:29:15 +00:00
Jon Griffiths 88e2453716 - Fix _fullpath & splitpath, winapi_check fixes
- Add cprintf,cscanf,_fgetwchar,_fgetwc,_fputwchar,_fputwc,
  _wtoi & _wtol (fwd),scanf,_timezone_dll
2000-12-16 21:53:56 +00:00
Jon Griffiths 61e48c7af1 - Implement console I/O
- Support temporary files, add tmpfile, rmtmp
- spawn* functions: fix args, add cwait, searchenv
2000-12-13 01:58:39 +00:00
Jon Griffiths e371e682cb - Implemented setlocale parsing and LC_TYPE behavior.
- Implemented isleadbyte, snprintf.
- Added NLS IsValidCodePage prototype, misc CRTDLL fixes.
2000-12-12 00:37:27 +00:00
Patrik Stridvall 697bf65e3e Added/modified documentation for function arguments. 2000-12-02 23:44:59 +00:00
Patrik Stridvall 7a4e599780 Fixed some issues found by winapi_check. 2000-12-01 23:53:46 +00:00
Jon Griffiths d6deb6db91 - configure tests for finite()/fpclass(), fixes BSD compile
- winapi_check updates, fix errno in more math calls
2000-11-27 01:37:28 +00:00
Alexandre Julliard 5b971f009a Moved wsprintf functions to dlls/user. 2000-11-26 22:39:50 +00:00
Marcus Meissner 4826d56d53 glibc2.2 needs __USE_ISOC99 for FP_NAN and isfinite(). 2000-11-25 23:17:52 +00:00
Jon Griffiths c702f0e69e - Fix ctype(), make is* functions binary compatible
- Add 13 functions, set errno in math calls
2000-11-25 21:39:03 +00:00
Jon Griffiths 7349aab051 - Add math calls: scalb, fpclass, nextafter, logb, _CI*
- Add futime, utime, purecall, getpid
2000-11-25 02:11:59 +00:00
Alexandre Julliard 8d311c3130 Removed calls to Wine internal functions. 2000-11-16 04:14:19 +00:00
Jon Griffiths 4b43b4d558 - Complete the implementation of heap functions
- Forward j0,j1,jn,y0,y1,yn math calls to libc
- Add strnextc, pass text flag in creat, winapi_check fixes
2000-11-15 23:11:38 +00:00
Jon Griffiths d3576a9f85 - Implemented 73 CRT functions
- Reimplemented file I/O using Win32 calls
- Set errno/doserrno in most calls
2000-11-08 22:42:53 +00:00
Alexandre Julliard e101f6db3b Cleaned up a few inter-dll dependencies. Added a few imports. 2000-08-14 14:42:41 +00:00
Ove Kaaven 9723498034 Implemented fopen() append mode, and a really cheesy fscanf()
implementation...
2000-08-11 00:39:14 +00:00
Alexandre Julliard 5ab9d860f2 Removed some unnecessary #includes and dll dependencies. 2000-08-09 22:35:05 +00:00
Alexandre Julliard 58d5a0a786 Removed some unnecessary inclusions of wingdi.h and winuser.h 2000-07-29 21:58:17 +00:00
Patrik Stridvall e03fe5a420 Fixed some issues found by winapi_check. 2000-07-15 21:32:26 +00:00
Marcus Meissner fb2273be7e Implemented _vsnprintf by calling wvsnprintfA. 2000-07-11 22:05:03 +00:00
Alexandre Julliard 4f356e86e4 Moved shared crtdll/ntdll functions into ntdll.
Made crtdll a separate dll.
2000-06-23 16:16:30 +00:00
b0c4965427 Added difftime function. 2000-06-14 21:14:35 +00:00
Uwe Bonnes 11dee2b151 fgets: Don't swallow \n, treat EOF
feof: Crude implementation
signal: Return error
2000-04-16 17:06:44 +00:00
Patrik Stridvall 533d333025 - Added/fixed some documentation reported by winapi_check
- Renamed MapVirtualKeyEx32A to MapVirtualKeyExA
- Renamed CRTDLL__dllonexit to CRTDLL___dllinit
2000-03-28 19:31:18 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Waldek Hebisch 78f92898a4 Implemented _read and _lseek. 2000-03-12 21:13:44 +00:00
Alexandre Julliard 7d343401d7 Cleaned up CRTDLL__unlink. 2000-03-08 18:23:18 +00:00