[coreboot] New patch to review for coreboot: f3befe2 nvramtool: Allow spaces in enumeration names
Patrick Georgi (patrick@georgi-clan.de)
gerrit at coreboot.org
Sat Apr 14 16:23:30 CEST 2012
Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/901
-gerrit
commit f3befe21fc8542342f3c08ba7b2061cfcc661065
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