[Crosstoolchain-logs] [device-tree-compiler] 25/357: Oops avoid using case range gcc extension.
Hector Oron
zumbi at moszumanska.debian.org
Thu Dec 8 17:05:44 UTC 2016
This is an automated email from the git hooks/post-receive script.
zumbi pushed a commit to branch upstream/1.3.x
in repository device-tree-compiler.
commit b4ac04952a2d8489cb28c5d0a3872d4a35dc58d2
Author: David Gibson <dgibson at sneetch.(none)>
Date: Mon Oct 17 10:27:45 2005 +1000
Oops avoid using case range gcc extension.
---
data.c | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/data.c b/data.c
index c842396..3037cdf 100644
--- a/data.c
+++ b/data.c
@@ -171,7 +171,14 @@ struct data data_copy_escape_string(char *s, int len)
case 'r':
q[d.len++] = '\r';
break;
- case '0' ... '7':
+ case '0':
+ case '1':
+ case '2':
+ case '3':
+ case '4':
+ case '5':
+ case '6':
+ case '7':
i--; /* need to re-read the first digit as
* part of the octal value */
q[d.len++] = get_oct_char(s, &i);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git
More information about the Crosstoolchain-logs
mailing list