svn commit: trunk/busybox/util-linux
vapier at busybox.net
vapier at busybox.net
Wed Jan 23 10:48:27 PST 2008
Author: vapier
Date: 2008-01-23 10:48:26 -0800 (Wed, 23 Jan 2008)
New Revision: 20890
Log:
as reported by George Boudreau, make sure we properly skip blank lines
Modified:
trunk/busybox/util-linux/mdev.c
Changeset:
Modified: trunk/busybox/util-linux/mdev.c
===================================================================
--- trunk/busybox/util-linux/mdev.c 2008-01-23 16:57:28 UTC (rev 20889)
+++ trunk/busybox/util-linux/mdev.c 2008-01-23 18:48:26 UTC (rev 20890)
@@ -78,8 +78,12 @@
val = strtok(vline, " \t");
vline = NULL;
} while (val && !*val);
- if (!val)
- break;
+ if (!val) {
+ if (field)
+ break;
+ else
+ goto next_line;
+ }
if (field == 0) {
More information about the busybox-cvs
mailing list