[CRT]
authorSylvain Petreolle <spetreolle@yahoo.fr>
Wed, 14 Dec 2011 22:09:24 +0000 (22:09 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Wed, 14 Dec 2011 22:09:24 +0000 (22:09 +0000)
commitb30bf6de315557f80cfa16574689563dfe08eab5
tree70a73eec85b495c123447065b9bc9240b1c358bc
parent838328b1ed426a3360ccff85ece32a2bf9688e86
[CRT]
- Update file.c to recent wine. (now with locking!)
- implement/enable __wcserror, __wcserror_s, _access_s, _ctime32_s, _ctime64_s,
_cwprintf, _fseeki64, _ftelli64, _get_osplatform, _get_output_format,
_get_pgmptr, _get_wpgmptr, _get_terminate, _get_tzname, _get_unexpected,
_gmtime64_s, _i64toa_s, _i64tow_s, _initterm_e, _itoa_s, _itow_s,
_localtime32_s, _localtime64_s, _ltoa_s, _ltow_s, _putwch, _searchenv_s,
_sopen_s, _ui64toa_s, _ui64tow_s, _vcwprintf, _vsprintf_p, _waccess_s,
_wcserror, _wcserror_s, _wfopen_s, _wsopen_s, fopen_s, fprintf_s, fwprintf_s,
printf_s, strerror_s, strncpy_s, strtok_s, vfprintf_s, vfwprintf_s, vprintf_s,
vwprintf_s, wcscat_s, wcsncat_s, wcstok_s, wprintf_s. Most code comes from
wine.
- Fix __set_errno -> _set_errno and export it.
- Remove unneeded files.
[CRT_HEADERS]
- add threadmbcinfo struct.
- update some sec_api headers from mingw64 due to missing or incorrect
functions.

Patch by Samuel Serapion.
Changes to msvcrt spec by me due to winebuild.
CRLF/LF fixes.

svn path=/trunk/; revision=54651
100 files changed:
reactos/dll/win32/msvcrt/msvcrt.spec
reactos/dll/win32/msvcrt20/msvcrt20.spec
reactos/dll/win32/msvcrt40/msvcrt40.spec
reactos/include/crt/crtdefs.h
reactos/include/crt/sec_api/stdio_s.h
reactos/include/crt/sec_api/stdlib_s.h
reactos/include/crt/sec_api/stralign_s.h
reactos/include/crt/sec_api/string_s.h
reactos/include/crt/sec_api/sys/timeb_s.h
reactos/include/crt/sec_api/time_s.h
reactos/include/crt/sec_api/wchar_s.h
reactos/include/crt/wchar.h
reactos/lib/sdk/crt/conio/cputs.c
reactos/lib/sdk/crt/crt.cmake
reactos/lib/sdk/crt/crt.rbuild
reactos/lib/sdk/crt/direct/chdir.c
reactos/lib/sdk/crt/direct/chdrive.c
reactos/lib/sdk/crt/direct/getcwd.c
reactos/lib/sdk/crt/direct/getdcwd.c
reactos/lib/sdk/crt/except/abnorter.c [deleted file]
reactos/lib/sdk/crt/include/internal/atexit.h
reactos/lib/sdk/crt/include/internal/file.h [deleted file]
reactos/lib/sdk/crt/include/internal/printf.h [deleted file]
reactos/lib/sdk/crt/include/internal/rterror.h
reactos/lib/sdk/crt/include/internal/safecrt.h
reactos/lib/sdk/crt/include/internal/wine/msvcrt.h
reactos/lib/sdk/crt/locale/locale.c
reactos/lib/sdk/crt/mbstring/mbsncoll.c
reactos/lib/sdk/crt/misc/environ.c
reactos/lib/sdk/crt/misc/initterm.c
reactos/lib/sdk/crt/misc/purecall.c
reactos/lib/sdk/crt/misc/stubs.c
reactos/lib/sdk/crt/precomp.h
reactos/lib/sdk/crt/printf/_cprintf.c
reactos/lib/sdk/crt/printf/_vcprintf.c
reactos/lib/sdk/crt/printf/_vsprintf_p.c [new file with mode: 0644]
reactos/lib/sdk/crt/printf/fprintf.c
reactos/lib/sdk/crt/printf/fwprintf.c
reactos/lib/sdk/crt/printf/printf.c
reactos/lib/sdk/crt/printf/vfprintf.c
reactos/lib/sdk/crt/printf/vfwprintf.c
reactos/lib/sdk/crt/printf/vprintf.c
reactos/lib/sdk/crt/printf/vwprintf.c
reactos/lib/sdk/crt/printf/wprintf.c
reactos/lib/sdk/crt/process/_cwait.c
reactos/lib/sdk/crt/process/_system.c
reactos/lib/sdk/crt/process/process.c
reactos/lib/sdk/crt/signal/signal.c
reactos/lib/sdk/crt/stdio/_flsbuf.c
reactos/lib/sdk/crt/stdio/access.c
reactos/lib/sdk/crt/stdio/file.c
reactos/lib/sdk/crt/stdio/lock_file.c [deleted file]
reactos/lib/sdk/crt/stdio/perror.c
reactos/lib/sdk/crt/stdlib/_exit.c
reactos/lib/sdk/crt/stdlib/abort.c
reactos/lib/sdk/crt/stdlib/atexit.c
reactos/lib/sdk/crt/stdlib/errno.c
reactos/lib/sdk/crt/stdlib/senv.c
reactos/lib/sdk/crt/string/atol.c
reactos/lib/sdk/crt/string/itoa.c
reactos/lib/sdk/crt/string/itow.c
reactos/lib/sdk/crt/string/splitp.c
reactos/lib/sdk/crt/string/strerror.c
reactos/lib/sdk/crt/string/strtok.c
reactos/lib/sdk/crt/string/strtol.c
reactos/lib/sdk/crt/string/strtoul.c
reactos/lib/sdk/crt/string/strtoull.c
reactos/lib/sdk/crt/string/wcs.c
reactos/lib/sdk/crt/string/wcstol.c
reactos/lib/sdk/crt/string/witow.c
reactos/lib/sdk/crt/time/bitsfixup.h
reactos/lib/sdk/crt/time/ctime32.c
reactos/lib/sdk/crt/time/ctime64.c
reactos/lib/sdk/crt/time/difftime32.c
reactos/lib/sdk/crt/time/difftime64.c
reactos/lib/sdk/crt/time/ftime.c
reactos/lib/sdk/crt/time/ftime32.c
reactos/lib/sdk/crt/time/ftime64.c
reactos/lib/sdk/crt/time/futime.c
reactos/lib/sdk/crt/time/futime32.c
reactos/lib/sdk/crt/time/futime64.c
reactos/lib/sdk/crt/time/gmtime.c
reactos/lib/sdk/crt/time/localtime.c
reactos/lib/sdk/crt/time/localtime32.c
reactos/lib/sdk/crt/time/localtime64.c
reactos/lib/sdk/crt/time/strdate.c
reactos/lib/sdk/crt/time/strtime.c
reactos/lib/sdk/crt/time/time32.c
reactos/lib/sdk/crt/time/time64.c
reactos/lib/sdk/crt/time/timezone.c
reactos/lib/sdk/crt/time/tzname.c [deleted file]
reactos/lib/sdk/crt/time/utime32.c
reactos/lib/sdk/crt/time/utime64.c
reactos/lib/sdk/crt/time/wctime32.c
reactos/lib/sdk/crt/time/wctime64.c
reactos/lib/sdk/crt/time/wstrdate.c
reactos/lib/sdk/crt/time/wutime32.c
reactos/lib/sdk/crt/time/wutime64.c
reactos/lib/sdk/crt/wine/heap.c
reactos/lib/sdk/crt/wstring/wcstok.c