File util-linux-slash-in-format-string.patch of Package util-linux.2662

From 82233c2a0a4cce89307061bdc7ffdb58c4936d4f Mon Sep 17 00:00:00 2001
From: HUANG Wei <weih@opera.com>
Date: Wed, 6 Aug 2014 12:20:18 +0800
Subject: [PATCH] hexdump: Fix parse format of "byte count without repetition
 count"

---
 text-utils/hexdump-parse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/text-utils/hexdump-parse.c b/text-utils/hexdump-parse.c
index 37e7086..8d14c5b 100644
--- a/text-utils/hexdump-parse.c
+++ b/text-utils/hexdump-parse.c
@@ -141,7 +141,7 @@ void add_fmt(const char *fmt, struct hexdump *hex)
 
 		/* Skip slash and trailing white space. */
 		if (*p == '/')
-			p = skip_space(p);
+			p = skip_space(++p);
 
 		/* byte count */
 		if (isdigit(*p)) {
-- 
2.0.4


openSUSE Build Service is sponsored by