3
0
forked from pool/util-linux
util-linux/util-linux-slash-in-format-string.patch
Stephan Kulow fe6c6a0351 Accepting request 246534 from Base:System
- Always mark ipcs/limits and misc/setarch as known failure

- fix parsing of slash in the format string [bnc#889934] (internal)
- added patches:
  * util-linux-slash-in-format-string.patch

- Remove hacks for format_spec_file and source_validator
  (bnc#891152, bnc#891829).
- Use macro defined summary that passes both SLE and openSUSE
  check-in QA scripts (invented by Ruediger Oertel).

- Always mark ipcs/limits and misc/setarch as known failure

- fix parsing of slash in the format string [bnc#889934] (internal)
- added patches:
  * util-linux-slash-in-format-string.patch

- Remove hacks for format_spec_file and source_validator
  (bnc#891152, bnc#891829).
- Use macro defined summary that passes both SLE and openSUSE
  check-in QA scripts (invented by Ruediger Oertel).

- Always mark ipcs/limits and misc/setarch as known failure

- fix parsing of slash in the format string [bnc#889934] (internal)
- added patches:
  * util-linux-slash-in-format-string.patch

- Remove hacks for format_spec_file and source_validator
  (bnc#891152, bnc#891829).

OBS-URL: https://build.opensuse.org/request/show/246534
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/util-linux?expand=0&rev=191
2014-08-29 15:42:19 +00:00

28 lines
720 B
Diff

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