]> granicus.if.org Git - file/commitdiff
Add an snprintb(3) format string for the magic flags.
authorChristos Zoulas <christos@zoulas.com>
Wed, 24 May 2017 19:17:25 +0000 (19:17 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 24 May 2017 19:17:25 +0000 (19:17 +0000)
src/magic.h.in

index fcfa381da9111be04d1f43ee3ff8042cc8ef7eb9..1134bdc886d41e36fb78c5210f2b15de0ec082a7 100644 (file)
        0                         \
 )
 
+#define MAGIC_SNPRINTB "\177\020\
+b\0debug\0\
+b\1symlink\0\
+b\2compress\0\
+b\3devices\0\
+b\4mime_type\0\
+b\5continue\0\
+b\6check\0\
+b\7preserve_atime\0\
+b\10raw\0\
+b\11error\0\
+b\12mime_encoding\0\
+b\13apple\0\
+b\14no_check_compress\0\
+b\15no_check_tar\0\
+b\16no_check_soft\0\
+b\17no_check_sapptype\0\
+b\20no_check_elf\0\
+b\21no_check_text\0\
+b\22no_check_cdf\0\
+b\23no_check_reserved0\0\
+b\24no_check_tokens\0\
+b\25no_check_encoding\0\
+b\26no_check_reserved1\0\
+b\27no_check_reserved2\0\
+b\30extension\0\
+b\31transp_compression\0\
+"
+
 /* Defined for backwards compatibility (renamed) */
 #define        MAGIC_NO_CHECK_ASCII    MAGIC_NO_CHECK_TEXT