← Commit list

5b3c05637

Manuel Novoa III
Manuel Novoa III
2003-08-13
FAILED Duration: 85s

Subject

Remove unnecessary pointer dereference.

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/cal.c+1 -1
@@ -324,7 +324,7 @@ static char *build_row(char *p, int *dp)
do {
if ((day = *dp++) != SPACE) {
if (julian) {
- *++p;
+ ++p;
if (day >= 100) {
*p = '0';
p[-1] = (day / 100) + '0';