← Commit list

270becc24

Denys Vlasenko
Denys Vlasenko
2018-08-30
SUCCESS Duration: 147s

Subject

smemcap: keep outputting by ignoring transient processes, take two

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 →

procps/smemcap.c+1 -1
@@ -65,7 +65,7 @@ static void archivefile(const char *path)
struct stat s;
/* buffer the file */
- fd = xopen(path, O_RDONLY);
+ fd = open(path, O_RDONLY);
if (fd == -1) {
/* skip vanished processes between dir listing and traversal */
return;