Vikram Narayanan ([email protected]) just uploaded a new patch set to gerrit, 
which you can find at http://review.coreboot.org/901

-gerrit

commit 512774e9f487cfefd8daeb0b02704d7133f85ce7
Author: Patrick Georgi <[email protected]>
Date:   Sat Apr 14 16:21:39 2012 +0200

    nvramtool: Allow spaces in enumeration names
    
    Change-Id: Id526e74f06fb15d4692d7b6edc8b5863f2d42c50
    Signed-off-by: Patrick Georgi <[email protected]>
---
 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:]]*$";
 

-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to