]> git.pld-linux.org Git - packages/file.git/blame - wasm.patch
fix build without python2
[packages/file.git] / wasm.patch
CommitLineData
f8bdc9cd
JR
1From 85b7ab83257b3191a1a7ca044589a092bcef2bb3 Mon Sep 17 00:00:00 2001
2From: Christos Zoulas <christos@zoulas.com>
3Date: Thu, 25 Jun 2020 16:52:48 +0000
4Subject: [PATCH] Include # (alternate format) to the list of uninteresting
5 formats Reported by Werner Fink
6
7---
8 src/funcs.c | 4 ++--
9 1 file changed, 2 insertions(+), 2 deletions(-)
10
11diff --git a/src/funcs.c b/src/funcs.c
12index 299b8f022..ecbfa28c5 100644
13--- a/src/funcs.c
14+++ b/src/funcs.c
15@@ -93,7 +93,7 @@ file_checkfmt(char *msg, size_t mlen, const char *fmt)
16 if (*++p == '%')
17 continue;
18 // Skip uninteresting.
19- while (strchr("0.'+- ", *p) != NULL)
20+ while (strchr("#0.'+- ", *p) != NULL)
21 p++;
22 if (*p == '*') {
23 if (msg)
This page took 0.070147 seconds and 4 git commands to generate.