[CRT/MSVCRT]
authorSylvain Petreolle <spetreolle@yahoo.fr>
Fri, 16 Dec 2011 15:44:37 +0000 (15:44 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Fri, 16 Dec 2011 15:44:37 +0000 (15:44 +0000)
commitce424af08cc239dea1fc3915be15ca8a5dacdb7d
tree46d5bdd92edcb0051ed6500a41e4e0cf58115be6
parent5bf403a592e5fd6655fab0d88951d77ee5c885a4
[CRT/MSVCRT]
Follow original design/style of printf module
Always use dosmaperr to convert win32 errors to sane crt errors
Enable forgotten _get_doserrno, get_errno, set_doserrno and _gmtime32_s
Small fixes to pass more wine tests.

Patch by Samuel SerapiĆ³n.

svn path=/trunk/; revision=54661
30 files changed:
reactos/dll/win32/msvcrt/msvcrt.spec
reactos/lib/sdk/crt/crt.cmake
reactos/lib/sdk/crt/crt.rbuild
reactos/lib/sdk/crt/include/internal/safecrt.h
reactos/lib/sdk/crt/printf/_cprintf.c
reactos/lib/sdk/crt/printf/_cwprintf.c [new file with mode: 0644]
reactos/lib/sdk/crt/printf/_vcprintf.c
reactos/lib/sdk/crt/printf/_vcwprintf.c [new file with mode: 0644]
reactos/lib/sdk/crt/printf/fprintf.c
reactos/lib/sdk/crt/printf/fprintf_s.c [new file with mode: 0644]
reactos/lib/sdk/crt/printf/fwprintf.c
reactos/lib/sdk/crt/printf/fwprintf_s.c [new file with mode: 0644]
reactos/lib/sdk/crt/printf/printf.c
reactos/lib/sdk/crt/printf/printf_s.c [new file with mode: 0644]
reactos/lib/sdk/crt/printf/vfprintf.c
reactos/lib/sdk/crt/printf/vfprintf_s.c [new file with mode: 0644]
reactos/lib/sdk/crt/printf/vfwprintf.c
reactos/lib/sdk/crt/printf/vfwprintf_s.c [new file with mode: 0644]
reactos/lib/sdk/crt/printf/vprintf.c
reactos/lib/sdk/crt/printf/vprintf_s.c [new file with mode: 0644]
reactos/lib/sdk/crt/printf/vwprintf.c
reactos/lib/sdk/crt/printf/vwprintf_s.c [new file with mode: 0644]
reactos/lib/sdk/crt/printf/wprintf.c
reactos/lib/sdk/crt/printf/wprintf_s.c [new file with mode: 0644]
reactos/lib/sdk/crt/stdio/file.c
reactos/lib/sdk/crt/stdlib/errno.c
reactos/lib/sdk/crt/stdlib/senv.c
reactos/lib/sdk/crt/time/futime.c
reactos/lib/sdk/crt/time/localtime.c
reactos/lib/sdk/crt/wine/heap.c