← Commit list

6c0e0fb8a

Eric Andersen
Eric Andersen
2003-08-08
FAILED Duration: 97s

Subject

Fix a stupid bug I introduced several months ago

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

coreutils/printf.c+2 -2
@@ -411,7 +411,7 @@ static unsigned long xstrtoul(char *arg)
assert(arg!=NULL);
errno = 0;
- result = strtoul(arg, &endptr, 10);
+ result = strtoul(arg, &endptr, 0);
if (errno != 0 || *endptr!='\0' || endptr==arg)
fprintf(stderr, "%s", arg);
//errno = errno_save;
@@ -427,7 +427,7 @@ static long xstrtol(char *arg)
assert(arg!=NULL);
errno = 0;
- result = strtoul(arg, &endptr, 10);
+ result = strtoul(arg, &endptr, 0);
if (errno != 0 || *endptr!='\0' || endptr==arg)
fprintf(stderr, "%s", arg);
//errno = errno_save;