Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: Avoid gcc case syntax
- X-seq: zsh-workers 36380
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: Avoid gcc case syntax
- Date: Tue, 1 Sep 2015 23:16:30 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=pPEwYuE+XphY2ISZecH2Q2kahXbB7o4r0ZUK44sVW9Q=; b=1COn/00I4cJ7eBeo4ppR6e5gxirZcywkD27S45IYwWC+uePrBEKY+0TBRJsiY4MoAr nPJJr9rafIguqSKpkS7c+ceQrVzzKnpvKz/6F+OyAA/0XjWRN3UmtJ6qLOhR2R4fChtt 2EqEKXPWjyVTHDmj6vwC8kQLWhVO8czRMYSI80xGe7Yga11DRpCGPYtklwcANIfWjHRf sM8hHVBHtY+tRzx+s3wEHbLXswRXf/dhcEW1BVWkIE/0akVcBiC3nLzguYliOACBeMTB 2w3awX770ClT6NMoQ/5rSBsNFWWpBFTP/eB5JSS40gW4GhyKw36aAJp8CF4i0Pvg3o1Y xiQg==
- In-reply-to: <25381.1441115605@thecus.kiddle.eu>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <25381.1441115605@thecus.kiddle.eu>
---
Src/utils.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Src/utils.c b/Src/utils.c
index 47567ff..fa64b82 100644
--- a/Src/utils.c
+++ b/Src/utils.c
@@ -3092,7 +3092,8 @@ morefmt:
case '#':
case '_':
case '-':
- case '0' ... '9':
+ case '0': case '1': case '2': case '3': case '4':
+ case '5': case '6': case '7': case '8': case '9':
goto morefmt;
strftimehandling:
default:
--
2.5.0
Messages sorted by:
Reverse Date,
Date,
Thread,
Author