Browse Source

Cherry-pick commit "Include # (alternate format) to the list of uninteresting formats"

Christoph Biedl 3 years ago
parent
commit
818f0fa8d2

+ 19 - 0
debian/patches/cherry-pick.FILE5_39-9-g85b7ab83.include-alternate-format-to-the-list-of-uninteresting-formats.patch

@@ -0,0 +1,19 @@
+Subject: Include # (alternate format) to the list of uninteresting formats (...)
+Origin: FILE5_39-9-g85b7ab83 <https://github.com/file/file/commit/FILE5_39-9-g85b7ab83>
+Upstream-Author: Christos Zoulas <christos@zoulas.com>
+Date: Thu Jun 25 16:52:48 2020 +0000
+
+    Include # (alternate format) to the list of uninteresting formats
+    Reported by Werner Fink
+
+--- a/src/funcs.c
++++ b/src/funcs.c
+@@ -93,7 +93,7 @@
+ 		if (*++p == '%')
+ 			continue;
+ 		// Skip uninteresting.
+-		while (strchr("0.'+- ", *p) != NULL)
++		while (strchr("#0.'+- ", *p) != NULL)
+ 			p++;
+ 		if (*p == '*') {
+ 			if (msg)

+ 1 - 0
debian/patches/series

@@ -1,6 +1,7 @@
 # reverted upstream commits
 
 # cherry-picked commits. Keep in upstream's chronological order
+cherry-pick.FILE5_39-9-g85b7ab83.include-alternate-format-to-the-list-of-uninteresting-formats.patch
 
 # patches that should go upstream
 upstream.disable.att3b.patch