← Commit list

46ef46aef

Mike Frysinger
Mike Frysinger
2008-01-23
FAILED Duration: 21s

Subject

as reported by George Boudreau, make sure we properly skip blank lines

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 →

util-linux/mdev.c+6 -2
@@ -78,8 +78,12 @@ static void make_device(char *path, int delete)
val = strtok(vline, " \t");
vline = NULL;
} while (val && !*val);
- if (!val)
- break;
+ if (!val) {
+ if (field)
+ break;
+ else
+ goto next_line;
+ }
if (field == 0) {