[coreboot] Patch set updated for coreboot: 512774e nvramtool: Allow spaces in enumeration names
Vikram Narayanan (vikram186@gmail.com)
gerrit at coreboot.org
Mon Apr 16 22:24:28 CEST 2012
Vikram Narayanan (vikram186 at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/901
-gerrit
commit 512774e9f487cfefd8daeb0b02704d7133f85ce7
Author: Patrick Georgi <patrick at georgi-clan.de>
Date: Sat Apr 14 16:21:39 2012 +0200
nvramtool: Allow spaces in enumeration names
Change-Id: Id526e74f06fb15d4692d7b6edc8b5863f2d42c50
Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
---
util/nvramtool/accessors/layout-text.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/util/nvramtool/accessors/layout-text.c b/util/nvramtool/accessors/layout-text.c
index 5f7cade..cbe698c 100644
--- a/util/nvramtool/accessors/layout-text.c
+++ b/util/nvramtool/accessors/layout-text.c
@@ -149,7 +149,7 @@ static const char enums_line_regex[] =
/* followed by one or more whitespace characters */
"[[:space:]]+"
/* followed by a chunk of nonwhitespace for text field */
- "([^[:space:]]+)"
+ "([[:print:]]*[^[:space:]])"
/* followed by optional whitespace */
"[[:space:]]*$";
More information about the coreboot
mailing list