head 1.5; access; symbols netbsd-11-0-RC5:1.5 FILE5_48:1.1.1.5 netbsd-11-0-RC4:1.5 netbsd-11-0-RC3:1.5 netbsd-11-0-RC2:1.5 netbsd-11-0-RC1:1.5 perseant-exfatfs-base-20250801:1.5 netbsd-11:1.5.0.38 netbsd-11-base:1.5 netbsd-10-1-RELEASE:1.5 perseant-exfatfs-base-20240630:1.5 perseant-exfatfs:1.5.0.36 perseant-exfatfs-base:1.5 netbsd-8-3-RELEASE:1.5 netbsd-9-4-RELEASE:1.5 netbsd-10-0-RELEASE:1.5 netbsd-10-0-RC6:1.5 netbsd-10-0-RC5:1.5 netbsd-10-0-RC4:1.5 netbsd-10-0-RC3:1.5 netbsd-10-0-RC2:1.5 netbsd-10-0-RC1:1.5 FILE5_45:1.1.1.5 netbsd-10:1.5.0.34 netbsd-10-base:1.5 FILE5_43:1.1.1.5 netbsd-9-3-RELEASE:1.5 cjep_sun2x-base1:1.5 cjep_sun2x:1.5.0.32 cjep_sun2x-base:1.5 cjep_staticlib_x-base1:1.5 netbsd-9-2-RELEASE:1.5 cjep_staticlib_x:1.5.0.30 cjep_staticlib_x-base:1.5 FILE5_40:1.1.1.5 netbsd-9-1-RELEASE:1.5 FILE5_39:1.1.1.5 phil-wifi-20200421:1.5 phil-wifi-20200411:1.5 is-mlppp:1.5.0.28 is-mlppp-base:1.5 phil-wifi-20200406:1.5 netbsd-8-2-RELEASE:1.5 netbsd-9-0-RELEASE:1.5 netbsd-9-0-RC2:1.5 FILE5_38:1.1.1.5 netbsd-9-0-RC1:1.5 phil-wifi-20191119:1.5 netbsd-9:1.5.0.26 netbsd-9-base:1.5 phil-wifi-20190609:1.5 netbsd-8-1-RELEASE:1.5 FILE5_37:1.1.1.5 netbsd-8-1-RC1:1.5 pgoyette-compat-merge-20190127:1.5 pgoyette-compat-20190127:1.5 pgoyette-compat-20190118:1.5 pgoyette-compat-1226:1.5 pgoyette-compat-1126:1.5 pgoyette-compat-1020:1.5 FILE5_35:1.1.1.5 pgoyette-compat-0930:1.5 pgoyette-compat-0906:1.5 netbsd-7-2-RELEASE:1.5 pgoyette-compat-0728:1.5 netbsd-8-0-RELEASE:1.5 phil-wifi:1.5.0.24 phil-wifi-base:1.5 pgoyette-compat-0625:1.5 netbsd-8-0-RC2:1.5 pgoyette-compat-0521:1.5 pgoyette-compat-0502:1.5 pgoyette-compat-0422:1.5 netbsd-8-0-RC1:1.5 FILE5_33:1.1.1.5 pgoyette-compat-0415:1.5 pgoyette-compat-0407:1.5 pgoyette-compat-0330:1.5 pgoyette-compat-0322:1.5 pgoyette-compat-0315:1.5 netbsd-7-1-2-RELEASE:1.5 pgoyette-compat:1.5.0.22 pgoyette-compat-base:1.5 netbsd-7-1-1-RELEASE:1.5 matt-nb8-mediatek:1.5.0.20 matt-nb8-mediatek-base:1.5 FILE5_32:1.1.1.5 perseant-stdc-iso10646:1.5.0.18 perseant-stdc-iso10646-base:1.5 netbsd-8:1.5.0.16 netbsd-8-base:1.5 FILE5_31:1.1.1.5 prg-localcount2-base3:1.5 prg-localcount2-base2:1.5 prg-localcount2-base1:1.5 prg-localcount2:1.5.0.14 prg-localcount2-base:1.5 pgoyette-localcount-20170426:1.5 bouyer-socketcan-base1:1.5 pgoyette-localcount-20170320:1.5 netbsd-7-1:1.5.0.12 netbsd-7-1-RELEASE:1.5 netbsd-7-1-RC2:1.5 FILE5_30:1.1.1.5 netbsd-7-nhusb-base-20170116:1.5 bouyer-socketcan:1.5.0.10 bouyer-socketcan-base:1.5 pgoyette-localcount-20170107:1.5 netbsd-7-1-RC1:1.5 pgoyette-localcount-20161104:1.5 netbsd-7-0-2-RELEASE:1.5 localcount-20160914:1.5 netbsd-7-nhusb:1.5.0.8 netbsd-7-nhusb-base:1.5 pgoyette-localcount-20160806:1.5 pgoyette-localcount-20160726:1.5 pgoyette-localcount:1.5.0.6 pgoyette-localcount-base:1.5 netbsd-7-0-1-RELEASE:1.5 netbsd-7-0:1.5.0.4 netbsd-7-0-RELEASE:1.5 netbsd-7-0-RC3:1.5 netbsd-7-0-RC2:1.5 netbsd-7-0-RC1:1.5 FILE5_22:1.1.1.5 FILE5_20:1.1.1.5 netbsd-6-0-6-RELEASE:1.1.1.1.2.2 netbsd-6-1-5-RELEASE:1.1.1.1.2.2 netbsd-7:1.5.0.2 netbsd-7-base:1.5 FILE5_19:1.1.1.5 yamt-pagecache-base9:1.4 yamt-pagecache-tag8:1.1.1.1.4.3 netbsd-6-1-4-RELEASE:1.1.1.1.2.2 netbsd-6-0-5-RELEASE:1.1.1.1.2.2 tls-earlyentropy:1.4.0.2 tls-earlyentropy-base:1.5 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.4 riastradh-drm2-base3:1.4 netbsd-6-1-3-RELEASE:1.1.1.1.2.2 netbsd-6-0-4-RELEASE:1.1.1.1.2.2 FILE5_16:1.1.1.4 netbsd-6-1-2-RELEASE:1.1.1.1.2.2 netbsd-6-0-3-RELEASE:1.1.1.1.2.2 netbsd-6-1-1-RELEASE:1.1.1.1.2.2 riastradh-drm2-base2:1.3 riastradh-drm2-base1:1.3 riastradh-drm2:1.3.0.6 riastradh-drm2-base:1.3 netbsd-6-1:1.1.1.1.2.2.0.6 netbsd-6-0-2-RELEASE:1.1.1.1.2.2 netbsd-6-1-RELEASE:1.1.1.1.2.2 khorben-n900:1.3.0.4 netbsd-6-1-RC4:1.1.1.1.2.2 netbsd-6-1-RC3:1.1.1.1.2.2 agc-symver:1.3.0.2 agc-symver-base:1.3 FILE5_14:1.1.1.3 netbsd-6-1-RC2:1.1.1.1.2.2 netbsd-6-1-RC1:1.1.1.1.2.2 yamt-pagecache-base8:1.2 FILE_5_12:1.1.1.2 netbsd-6-0-1-RELEASE:1.1.1.1.2.2 yamt-pagecache-base7:1.1.1.1 matt-nb6-plus-nbase:1.1.1.1.2.2 yamt-pagecache-base6:1.1.1.1 netbsd-6-0:1.1.1.1.2.2.0.4 netbsd-6-0-RELEASE:1.1.1.1.2.2 netbsd-6-0-RC2:1.1.1.1.2.2 tls-maxphys:1.1.1.1.0.6 tls-maxphys-base:1.5 matt-nb6-plus:1.1.1.1.2.2.0.2 matt-nb6-plus-base:1.1.1.1.2.2 netbsd-6-0-RC1:1.1.1.1.2.2 yamt-pagecache-base5:1.1.1.1 yamt-pagecache:1.1.1.1.0.4 yamt-pagecache-base4:1.1.1.1 netbsd-6:1.1.1.1.0.2 FILE5_11:1.1.1.1 CHRISTOS:1.1.1; locks; strict; comment @# @; 1.5 date 2014.06.13.02.08.06; author christos; state Exp; branches; next 1.4; commitid 4S2W0uH1Gw96TiEx; 1.4 date 2013.12.01.19.32.14; author christos; state Exp; branches 1.4.2.1; next 1.3; commitid gZ22t2PQqTQYTsfx; 1.3 date 2013.03.23.16.15.58; author christos; state Exp; branches; next 1.2; 1.2 date 2013.01.04.17.33.01; author christos; state Exp; branches; next 1.1; 1.1 date 2012.02.22.17.48.28; author christos; state Exp; branches 1.1.1.1; next ; 1.4.2.1 date 2014.08.10.07.07.10; author tls; state Exp; branches; next ; commitid b1wUlsZGswrdGMLx; 1.1.1.1 date 2012.02.22.17.48.28; author christos; state Exp; branches 1.1.1.1.2.1 1.1.1.1.4.1 1.1.1.1.6.1; next 1.1.1.2; 1.1.1.2 date 2013.01.03.16.27.53; author christos; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2013.03.23.15.49.16; author christos; state Exp; branches; next 1.1.1.4; 1.1.1.4 date 2013.12.01.19.28.17; author christos; state Exp; branches; next 1.1.1.5; commitid RVQIxe3FpM3lSsfx; 1.1.1.5 date 2014.06.13.01.48.23; author christos; state Exp; branches; next ; commitid jtTYsE5FmJU6MiEx; 1.1.1.1.2.1 date 2012.02.22.17.48.28; author riz; state dead; branches; next 1.1.1.1.2.2; 1.1.1.1.2.2 date 2012.03.07.23.18.25; author riz; state Exp; branches; next ; 1.1.1.1.4.1 date 2012.02.22.17.48.28; author yamt; state dead; branches; next 1.1.1.1.4.2; 1.1.1.1.4.2 date 2012.04.17.00.03.08; author yamt; state Exp; branches; next 1.1.1.1.4.3; 1.1.1.1.4.3 date 2013.01.23.00.04.34; author yamt; state Exp; branches; next 1.1.1.1.4.4; 1.1.1.1.4.4 date 2014.05.22.15.44.59; author yamt; state Exp; branches; next ; commitid tYJXbWAuFvTh7yBx; 1.1.1.1.6.1 date 2013.02.25.00.26.05; author tls; state Exp; branches; next 1.1.1.1.6.2; 1.1.1.1.6.2 date 2013.06.23.06.26.32; author tls; state Exp; branches; next 1.1.1.1.6.3; commitid OnlO1cBgtQRcIHUw; 1.1.1.1.6.3 date 2014.08.19.23.46.47; author tls; state Exp; branches; next ; commitid jTnpym9Qu0o4R1Nx; desc @@ 1.5 log @merge conflicts @ text @#------------------------------------------------------------------------------ # $File: assembler,v 1.6 2013/12/11 14:14:20 christos Exp $ # make: file(1) magic for assembler source # 0 regex \^[\040\t]{0,50}\\.asciiz assembler source text !:mime text/x-asm 0 regex \^[\040\t]{0,50}\\.byte assembler source text !:mime text/x-asm 0 regex \^[\040\t]{0,50}\\.even assembler source text !:mime text/x-asm 0 regex \^[\040\t]{0,50}\\.globl assembler source text !:mime text/x-asm 0 regex \^[\040\t]{0,50}\\.text assembler source text !:mime text/x-asm 0 regex \^[\040\t]{0,50}\\.file assembler source text !:mime text/x-asm 0 regex \^[\040\t]{0,50}\\.type assembler source text !:mime text/x-asm @ 1.4 log @merge conflicts @ text @d2 1 a2 1 # $File: assembler,v 1.5 2013/09/17 17:33:36 christos Exp $ d5 1 a5 1 0 regex \^[\040\t]*\\.asciiz assembler source text d7 1 a7 1 0 regex \^[\040\t]*\\.byte assembler source text d9 1 a9 1 0 regex \^[\040\t]*\\.even assembler source text d11 1 a11 1 0 regex \^[\040\t]*\\.globl assembler source text d13 1 a13 1 0 regex \^[\040\t]*\\.text assembler source text d15 1 a15 1 0 regex \^[\040\t]*\\.file assembler source text d17 1 a17 1 0 regex \^[\040\t]*\\.type assembler source text @ 1.4.2.1 log @Rebase. @ text @d2 1 a2 1 # $File: assembler,v 1.6 2013/12/11 14:14:20 christos Exp $ d5 1 a5 1 0 regex \^[\040\t]{0,50}\\.asciiz assembler source text d7 1 a7 1 0 regex \^[\040\t]{0,50}\\.byte assembler source text d9 1 a9 1 0 regex \^[\040\t]{0,50}\\.even assembler source text d11 1 a11 1 0 regex \^[\040\t]{0,50}\\.globl assembler source text d13 1 a13 1 0 regex \^[\040\t]{0,50}\\.text assembler source text d15 1 a15 1 0 regex \^[\040\t]{0,50}\\.file assembler source text d17 1 a17 1 0 regex \^[\040\t]{0,50}\\.type assembler source text @ 1.3 log @merge new file @ text @d2 1 a2 1 # $File: assembler,v 1.4 2013/01/04 23:31:11 christos Exp $ d5 1 a5 1 0 regex \^[\020\t]*\\.asciiz assembler source text d7 1 a7 1 0 regex \^[\020\t]*\\.byte assembler source text d9 1 a9 1 0 regex \^[\020\t]*\\.even assembler source text d11 1 a11 1 0 regex \^[\020\t]*\\.globl assembler source text d13 1 a13 1 0 regex \^[\020\t]*\\.text assembler source text d15 1 a15 1 0 regex \^[\020\t]*\\.file assembler source text d17 1 a17 1 0 regex \^[\020\t]*\\.type assembler source text @ 1.2 log @fix quoting. @ text @d2 1 a2 1 # $File: assembler,v 1.2 2012/10/31 18:41:42 christos Exp $ @ 1.1 log @Initial revision @ text @d2 1 a2 1 # $File: assembler,v 1.1 2011/12/08 12:12:46 rrt Exp $ d5 1 a5 1 0 regex \^\.asciiz\? assembler source text d7 1 a7 1 0 regex \^\.byte assembler source text d9 1 a9 1 0 regex \^\.even assembler source text d11 1 a11 1 0 regex \^\.globl assembler source text d13 5 a17 1 0 regex \^\.text assembler source text @ 1.1.1.1 log @from ftp.astron.com, CDF security fixes @ text @@ 1.1.1.1.6.1 log @resync with head @ text @d2 1 a2 1 # $File: assembler,v 1.2 2012/10/31 18:41:42 christos Exp $ d5 1 a5 1 0 regex \^[\020\t]*\\.asciiz assembler source text d7 1 a7 1 0 regex \^[\020\t]*\\.byte assembler source text d9 1 a9 1 0 regex \^[\020\t]*\\.even assembler source text d11 1 a11 1 0 regex \^[\020\t]*\\.globl assembler source text d13 1 a13 5 0 regex \^[\020\t]*\\.text assembler source text !:mime text/x-asm 0 regex \^[\020\t]*\\.file assembler source text !:mime text/x-asm 0 regex \^[\020\t]*\\.type assembler source text @ 1.1.1.1.6.2 log @resync from head @ text @d2 1 a2 1 # $File: assembler,v 1.4 2013/01/04 23:31:11 christos Exp $ @ 1.1.1.1.6.3 log @Rebase to HEAD as of a few days ago. @ text @d2 1 a2 1 # $File: assembler,v 1.6 2013/12/11 14:14:20 christos Exp $ d5 1 a5 1 0 regex \^[\040\t]{0,50}\\.asciiz assembler source text d7 1 a7 1 0 regex \^[\040\t]{0,50}\\.byte assembler source text d9 1 a9 1 0 regex \^[\040\t]{0,50}\\.even assembler source text d11 1 a11 1 0 regex \^[\040\t]{0,50}\\.globl assembler source text d13 1 a13 1 0 regex \^[\040\t]{0,50}\\.text assembler source text d15 1 a15 1 0 regex \^[\040\t]{0,50}\\.file assembler source text d17 1 a17 1 0 regex \^[\040\t]{0,50}\\.type assembler source text @ 1.1.1.2 log @from ftp.astron.com @ text @d2 1 a2 1 # $File: assembler,v 1.2 2012/10/31 18:41:42 christos Exp $ d5 1 a5 1 0 regex \^[\020\t]*\.asciiz\? assembler source text d7 1 a7 1 0 regex \^[\020\t]*\.byte assembler source text d9 1 a9 1 0 regex \^[\020\t]*\.even assembler source text d11 1 a11 1 0 regex \^[\020\t]*\.globl assembler source text d13 1 a13 5 0 regex \^[\020\t]*\.text assembler source text !:mime text/x-asm 0 regex \^[\020\t]*\.file assembler source text !:mime text/x-asm 0 regex \^[\020\t]*\.type assembler source text @ 1.1.1.3 log @import file-5.14 changes are "name" + "use" keyword features, bug fixes @ text @d2 1 a2 1 # $File: assembler,v 1.4 2013/01/04 23:31:11 christos Exp $ d5 1 a5 1 0 regex \^[\020\t]*\\.asciiz assembler source text d7 1 a7 1 0 regex \^[\020\t]*\\.byte assembler source text d9 1 a9 1 0 regex \^[\020\t]*\\.even assembler source text d11 1 a11 1 0 regex \^[\020\t]*\\.globl assembler source text d13 1 a13 1 0 regex \^[\020\t]*\\.text assembler source text d15 1 a15 1 0 regex \^[\020\t]*\\.file assembler source text d17 1 a17 1 0 regex \^[\020\t]*\\.type assembler source text @ 1.1.1.4 log @from ftp.astron.com, this is a bug fix release: * always leave magic file loaded, don't unload for magic_check, etc. * fix default encoding to binary instead of unknown which broke recently * handle empty and one byte files, less specially so that --mime-encoding does not break completely. * fix erroneous non-zero exit code from non-existant file and message * add CDF MSI file detection (Guy Helmer) @ text @d2 1 a2 1 # $File: assembler,v 1.5 2013/09/17 17:33:36 christos Exp $ d5 1 a5 1 0 regex \^[\040\t]*\\.asciiz assembler source text d7 1 a7 1 0 regex \^[\040\t]*\\.byte assembler source text d9 1 a9 1 0 regex \^[\040\t]*\\.even assembler source text d11 1 a11 1 0 regex \^[\040\t]*\\.globl assembler source text d13 1 a13 1 0 regex \^[\040\t]*\\.text assembler source text d15 1 a15 1 0 regex \^[\040\t]*\\.file assembler source text d17 1 a17 1 0 regex \^[\040\t]*\\.type assembler source text @ 1.1.1.5 log @import file-5.19 2014-06-09 9:04 Christos Zoulas * Misc buffer overruns and missing buffer size tests in cdf parsing (Francisco Alonso, Jan Kaluza) 2014-06-02 14:50 Christos Zoulas * Enforce limit of 8K on regex searches that have no limits * Allow the l modifier for regex to mean line count. Default to byte count. If line count is specified, assume a max of 80 characters per line to limit the byte count. * Don't allow conversions to be used for dates, allowing the mask field to be used as an offset. 2014-05-30 12:51 Christos Zoulas * Make the range operator limit the length of the regex search. 2014-05-14 19:23 Christos Zoulas * PR/347: Windows fixes * PR/352: Hangul word processor recognition * PR/354: Encoding irregularities in text files 2014-05-06 6:12 Christos Zoulas * Fix uninitialized title in CDF files (Jan Kaluza) 2014-05-04 14:55 Christos Zoulas * PR/351: Fix compilation of empty files 2014-04-30 17:39 Christos Zoulas * Fix integer formats: We don't specify 'l' or 'h' and 'hh' specifiers anymore, only 'll' for quads and nothing for the rest. This is so that magic writing is simpler. 2014-04-01 15:25 Christos Zoulas * PR/341: Jan Kaluza, fix memory leak * PR/342: Jan Kaluza, fix out of bounds read 2014-03-28 15:25 Christos Zoulas * Fix issue with long formats not matching fmtcheck @ text @d2 1 a2 1 # $File: assembler,v 1.6 2013/12/11 14:14:20 christos Exp $ d5 1 a5 1 0 regex \^[\040\t]{0,50}\\.asciiz assembler source text d7 1 a7 1 0 regex \^[\040\t]{0,50}\\.byte assembler source text d9 1 a9 1 0 regex \^[\040\t]{0,50}\\.even assembler source text d11 1 a11 1 0 regex \^[\040\t]{0,50}\\.globl assembler source text d13 1 a13 1 0 regex \^[\040\t]{0,50}\\.text assembler source text d15 1 a15 1 0 regex \^[\040\t]{0,50}\\.file assembler source text d17 1 a17 1 0 regex \^[\040\t]{0,50}\\.type assembler source text @ 1.1.1.1.4.1 log @file assembler was added on branch yamt-pagecache on 2012-04-17 00:03:08 +0000 @ text @d1 14 @ 1.1.1.1.4.2 log @sync with head @ text @a0 14 #------------------------------------------------------------------------------ # $File: assembler,v 1.1 2011/12/08 12:12:46 rrt Exp $ # make: file(1) magic for assembler source # 0 regex \^\.asciiz\? assembler source text !:mime text/x-asm 0 regex \^\.byte assembler source text !:mime text/x-asm 0 regex \^\.even assembler source text !:mime text/x-asm 0 regex \^\.globl assembler source text !:mime text/x-asm 0 regex \^\.text assembler source text !:mime text/x-asm @ 1.1.1.1.4.3 log @sync with head @ text @d2 1 a2 1 # $File: assembler,v 1.2 2012/10/31 18:41:42 christos Exp $ d5 1 a5 1 0 regex \^[\020\t]*\\.asciiz assembler source text d7 1 a7 1 0 regex \^[\020\t]*\\.byte assembler source text d9 1 a9 1 0 regex \^[\020\t]*\\.even assembler source text d11 1 a11 1 0 regex \^[\020\t]*\\.globl assembler source text d13 1 a13 5 0 regex \^[\020\t]*\\.text assembler source text !:mime text/x-asm 0 regex \^[\020\t]*\\.file assembler source text !:mime text/x-asm 0 regex \^[\020\t]*\\.type assembler source text @ 1.1.1.1.4.4 log @sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments") @ text @d2 1 a2 1 # $File: assembler,v 1.5 2013/09/17 17:33:36 christos Exp $ d5 1 a5 1 0 regex \^[\040\t]*\\.asciiz assembler source text d7 1 a7 1 0 regex \^[\040\t]*\\.byte assembler source text d9 1 a9 1 0 regex \^[\040\t]*\\.even assembler source text d11 1 a11 1 0 regex \^[\040\t]*\\.globl assembler source text d13 1 a13 1 0 regex \^[\040\t]*\\.text assembler source text d15 1 a15 1 0 regex \^[\040\t]*\\.file assembler source text d17 1 a17 1 0 regex \^[\040\t]*\\.type assembler source text @ 1.1.1.1.2.1 log @file assembler was added on branch netbsd-6 on 2012-03-07 23:18:25 +0000 @ text @d1 14 @ 1.1.1.1.2.2 log @Pull up following revision(s) (requested by christos in ticket #30): Update file to 5.11 (CDF security fixes) @ text @a0 14 #------------------------------------------------------------------------------ # $File: assembler,v 1.1 2011/12/08 12:12:46 rrt Exp $ # make: file(1) magic for assembler source # 0 regex \^\.asciiz\? assembler source text !:mime text/x-asm 0 regex \^\.byte assembler source text !:mime text/x-asm 0 regex \^\.even assembler source text !:mime text/x-asm 0 regex \^\.globl assembler source text !:mime text/x-asm 0 regex \^\.text assembler source text !:mime text/x-asm @