mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
[CRT]
- Set errno when a overflow occurs in strtoull - Fixes 2 wine tests failures in msvcrt:string svn path=/trunk/; revision=50286
This commit is contained in:
@@ -54,6 +54,7 @@ strtoull(const char *nptr, char **endptr, int base)
|
||||
if (any < 0)
|
||||
{
|
||||
acc = ULLONG_MAX;
|
||||
__set_errno(ERANGE);
|
||||
}
|
||||
else if (neg)
|
||||
acc = -acc;
|
||||
|
||||
Reference in New Issue
Block a user