Loading...
--- Libc/Libc-763.13/stdlib/FreeBSD/strtoull.c.patch
+++ Libc/Libc-391/stdlib/FreeBSD/strtoull.c.patch
@@ -1,15 +1,15 @@
---- strtoull.c.bsdnew 2009-11-13 14:11:52.000000000 -0800
-+++ strtoull.c 2009-11-13 14:11:52.000000000 -0800
-@@ -33,6 +33,8 @@ static char sccsid[] = "@(#)strtouq.c 8.
+--- strtoull.c.orig 2003-05-20 15:23:25.000000000 -0700
++++ strtoull.c 2005-02-17 00:52:41.000000000 -0800
+@@ -37,6 +37,8 @@
#include <sys/cdefs.h>
- __FBSDID("$FreeBSD: src/lib/libc/stdlib/strtoull.c,v 1.21 2007/01/09 00:28:10 imp Exp $");
+ __FBSDID("$FreeBSD: src/lib/libc/stdlib/strtoull.c,v 1.18 2002/09/06 11:23:59 tjr Exp $");
+#include "xlocale_private.h"
+
#include <limits.h>
#include <errno.h>
#include <ctype.h>
-@@ -45,7 +47,8 @@ __FBSDID("$FreeBSD: src/lib/libc/stdlib/
+@@ -49,7 +51,8 @@
* alphabets and digits are each contiguous.
*/
unsigned long long
@@ -19,7 +19,7 @@
{
const char *s;
unsigned long long acc;
-@@ -53,13 +56,14 @@ strtoull(const char * __restrict nptr, c
+@@ -57,13 +60,14 @@
unsigned long long cutoff;
int neg, any, cutlim;
@@ -35,7 +35,7 @@
if (c == '-') {
neg = 1;
c = *s++;
-@@ -116,3 +120,9 @@ noconv:
+@@ -117,3 +121,9 @@
*endptr = (char *)(any ? s - 1 : nptr);
return (acc);
}