projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46904bf
)
as reported by George Boudreau, make sure we properly skip blank lines
author
Mike Frysinger
<vapier@gentoo.org>
Wed, 23 Jan 2008 18:48:26 +0000
(18:48 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Wed, 23 Jan 2008 18:48:26 +0000
(18:48 -0000)
util-linux/mdev.c
patch
|
blob
|
history
diff --git
a/util-linux/mdev.c
b/util-linux/mdev.c
index
84d5e1c
..
65b4da4
100644
(file)
--- a/
util-linux/mdev.c
+++ b/
util-linux/mdev.c
@@
-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) {