svn commit: branches/busybox_1_9_stable/util-linux
vapier at busybox.net
vapier at busybox.net
Tue Feb 12 15:27:19 UTC 2008
Author: vapier
Date: 2008-02-12 07:27:17 -0800 (Tue, 12 Feb 2008)
New Revision: 20994
Log:
merge fix for blank lines from trunk
Modified:
branches/busybox_1_9_stable/util-linux/mdev.c
Changeset:
Modified: branches/busybox_1_9_stable/util-linux/mdev.c
===================================================================
--- branches/busybox_1_9_stable/util-linux/mdev.c 2008-02-12 13:23:19 UTC (rev 20993)
+++ branches/busybox_1_9_stable/util-linux/mdev.c 2008-02-12 15:27:17 UTC (rev 20994)
@@ -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