diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2006-09-28 19:06:20 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2006-09-28 19:06:20 +0000 |
| commit | 64786948ccb9b01037bdb7fb07ca86ff04b4972c (patch) | |
| tree | 02e9ed5d7c7e7b284f11a4985d4bfafa80d91ccf /sys | |
| parent | 2c30ec0a1fba869c194998dcf263dfdf940c83fc (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/boot/common/merge_help.awk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/boot/common/merge_help.awk b/sys/boot/common/merge_help.awk index 02fbc4ac7b2d..1070f73f1fe9 100644 --- a/sys/boot/common/merge_help.awk +++ b/sys/boot/common/merge_help.awk @@ -25,9 +25,12 @@ BEGIN \ match($0, " T[[:graph:]]+"); T = substr($0, RSTART + 2, RLENGTH - 2); match($0, " S[[:graph:]]+"); + SSTART = RSTART S = (RLENGTH == -1) ? "" : substr($0, RSTART + 2, RLENGTH - 2); match($0, " D[[:graph:]][[:print:]]*$"); D = substr($0, RSTART + 2); + if (SSTART > RSTART) + S = ""; # find a suitable place to store this one... ind++; |
