← Commit list

6481070eb

Denys Vlasenko
Denys Vlasenko
2021-06-24
SUCCESS Duration: 155s

Subject

nproc: code shrink

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/nproc.c+1 -1
@@ -48,7 +48,7 @@ int nproc_main(int argc UNUSED_PARAM, char **argv UNUSED_PARAM)
if (cpuid && isdigit(cpuid[strlen(cpuid) - 1]))
count++;
}
- closedir(cpusd);
+ IF_FEATURE_CLEAN_UP(closedir(cpusd);)
}
} else
#endif