← Commit list

665eaff3b

Denis Vlasenko
Denis Vlasenko
2008-09-05
FAILED Duration: 28s

Subject

awk: add a comment

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 →

editors/awk.c+1 -0
@@ -825,6 +825,7 @@ static unsigned long getvar_i_int(var *v)
* of target type range. Try to widen it as much as possible */
if (d >= 0)
return (unsigned long)d;
+ /* Why? Think about d == -4294967295.0 (assuming 32bit longs) */
return - (long) (unsigned long) (-d);
}