SHA256
1
0
forked from pool/file
file/file-5.19-printf.dif
Dirk Mueller 2f9edeb10a - update to 5.43:
* Add octal indirect magic
  * avoid infinite loop in non-wide code 
  * Obey MAGIC_CONTINUE with multiple magic files
  * Fix bug with large flist
  * PR/364: Detect non-nul-terminated core filenames from QEMU
  * PR/359: Add support for http://ndjson.org/ 
  * PR/362: Fix wide printing 
  * PR/358: Fix width for -f -
- drop file-boo1201350.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=254
2022-09-13 20:12:04 +00:00

18 lines
518 B
Plaintext

---
src/apprentice.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: src/apprentice.c
===================================================================
--- src/apprentice.c.orig
+++ src/apprentice.c
@@ -2619,7 +2619,7 @@ check_format_type(const char *ptr, int t
}
} else
h = 0;
- while (*ptr && strchr("-.#", *ptr) != NULL)
+ while (*ptr && strchr("-.# +'", *ptr) != NULL)
ptr++;
#define CHECKLEN() do { \
for (len = cnt = 0; isdigit(CAST(unsigned char, *ptr)); ptr++, cnt++) \