Author: greatlrd
Date: Sat Jun 30 18:12:10 2007
New Revision: 27344
URL:
http://svn.reactos.org/svn/reactos?rev=27344&view=rev
Log:
accpect pacth in bug 2314, with one smaller change
the msvcrt20.def change was not accpect, it need more time for review.
and we do not support __set_error in libcntpr.
the patch are base on current strtoul, the strtoull are the long long version
of strtoul. so he took current stroul and adpate it to long long. and also add
missing error code. patch are done by Pierre Schweitzer email heis_spiter at
hotmail.com
See issue #2314 for more details.
Modified:
trunk/reactos/dll/ntdll/def/ntdll.def
trunk/reactos/dll/win32/crtdll/crtdll.def
trunk/reactos/dll/win32/msvcrt/msvcrt.def
trunk/reactos/lib/sdk/libcntpr/libcntpr.rbuild
trunk/reactos/lib/sdk/libcntpr/string/strtoul.c
Modified: trunk/reactos/dll/ntdll/def/ntdll.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/def/ntdll.def?re…
==============================================================================
--- trunk/reactos/dll/ntdll/def/ntdll.def (original)
+++ trunk/reactos/dll/ntdll/def/ntdll.def Sat Jun 30 18:12:10 2007
@@ -1065,6 +1065,7 @@
strstr
strtol
strtoul
+strtoull
swprintf
tan
tolower
Modified: trunk/reactos/dll/win32/crtdll/crtdll.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/crtdll/crtdll.de…
==============================================================================
--- trunk/reactos/dll/win32/crtdll/crtdll.def (original)
+++ trunk/reactos/dll/win32/crtdll/crtdll.def Sat Jun 30 18:12:10 2007
@@ -523,6 +523,7 @@
strtok
strtol=NTDLL.strtol
strtoul
+strtoull
strxfrm
swprintf=crt_swprintf
swscanf
Modified: trunk/reactos/dll/win32/msvcrt/msvcrt.def
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msvcrt/msvcrt.de…
==============================================================================
--- trunk/reactos/dll/win32/msvcrt/msvcrt.def (original)
+++ trunk/reactos/dll/win32/msvcrt/msvcrt.def Sat Jun 30 18:12:10 2007
@@ -797,6 +797,7 @@
strtok
strtol=NTDLL.strtol
strtoul
+strtoull
strxfrm
swprintf=crt_swprintf
swscanf
Modified: trunk/reactos/lib/sdk/libcntpr/libcntpr.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/libcntpr/libcntpr.…
==============================================================================
--- trunk/reactos/lib/sdk/libcntpr/libcntpr.rbuild (original)
+++ trunk/reactos/lib/sdk/libcntpr/libcntpr.rbuild Sat Jun 30 18:12:10 2007
@@ -137,6 +137,7 @@
<file>splitp.c</file>
<file>strtol.c</file>
<file>strtoul.c</file>
+ <file>strtoull.c</file>
<file>wcstol.c</file>
<file>wcstombs.c</file>
<file>wcstoul.c</file>
Modified: trunk/reactos/lib/sdk/libcntpr/string/strtoul.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/libcntpr/string/st…
==============================================================================
--- trunk/reactos/lib/sdk/libcntpr/string/strtoul.c (original)
+++ trunk/reactos/lib/sdk/libcntpr/string/strtoul.c Sat Jun 30 18:12:10 2007
@@ -1,6 +1,9 @@
+#include <stdio.h>
#include <string.h>
+#include <errno.h>
#include <limits.h>
#include <ctype.h>
+
/*
* Convert a string to an unsigned long integer.
@@ -64,6 +67,7 @@
if (any < 0)
{
acc = ULONG_MAX;
+
}
else if (neg)
acc = -acc;