git: vendor/FILE vendor/file: upgrade from 5.38 to 5.39

Daniel Fojt deef at crater.dragonflybsd.org
Sat Oct 10 03:05:28 PDT 2020


commit c990e5ba296a6fc9cca0b70d4c36d67f474f8a61
Author: Daniel Fojt <df at neosystem.org>
Date:   Fri Oct 9 18:22:09 2020 +0200

    vendor/file: upgrade from 5.38 to 5.39
    
    Summary:
    
    - add guid support
    - avoid misbehaviour with hand-crafted magic file
    - add missing DER types and document DER better in man page
    - fix memory leaks
    
    For details, see ChangeLog.

Summary of changes:
 contrib/file/ChangeLog                     |  80 +++++
 contrib/file/doc/file.man                  |  21 +-
 contrib/file/doc/magic.man                 |  60 +++-
 contrib/file/magic/Magdir/animation        |   8 +-
 contrib/file/magic/Magdir/archive          | 117 ++++++--
 contrib/file/magic/Magdir/asf              | 132 +++++++++
 contrib/file/magic/Magdir/cad              |  11 +-
 contrib/file/magic/Magdir/commands         |  26 +-
 contrib/file/magic/Magdir/compress         |  13 +-
 contrib/file/magic/Magdir/console          |  96 +++++-
 contrib/file/magic/Magdir/database         |  33 ++-
 contrib/file/magic/Magdir/der              |  24 +-
 contrib/file/magic/Magdir/dif              |  33 +++
 contrib/file/magic/Magdir/elf              |   7 +-
 contrib/file/magic/Magdir/filesystems      |   6 +-
 contrib/file/magic/Magdir/games            |  12 +-
 contrib/file/magic/Magdir/gnu              |   7 +-
 contrib/file/magic/Magdir/images           | 461 +++++++++++++++++++++++++----
 contrib/file/magic/Magdir/intel            |  59 +++-
 contrib/file/magic/Magdir/kicad            |  28 +-
 contrib/file/magic/Magdir/linux            | 197 ++++++------
 contrib/file/magic/Magdir/msdos            |  19 +-
 contrib/file/magic/Magdir/ole2compounddocs |  52 +++-
 contrib/file/magic/Magdir/parix            |   4 +-
 contrib/file/magic/Magdir/pascal           |   6 +-
 contrib/file/magic/Magdir/pdf              |   9 +-
 contrib/file/magic/Magdir/pgp              |  97 +++++-
 contrib/file/magic/Magdir/python           | 226 ++++++++++++--
 contrib/file/magic/Magdir/riff             | 123 +++++++-
 contrib/file/magic/Magdir/rst              |   4 +-
 contrib/file/magic/Magdir/rtf              |  98 +++++-
 contrib/file/magic/Magdir/sgml             |   4 +-
 contrib/file/magic/Magdir/sniffer          | 356 +++++++++++-----------
 contrib/file/magic/Magdir/ssh              |  20 ++
 contrib/file/magic/Magdir/sylk             |  36 +++
 contrib/file/magic/Magdir/ti-8x            |   4 +-
 contrib/file/magic/Magdir/tplink           |   6 +-
 contrib/file/magic/Magdir/troff            |  10 +-
 contrib/file/magic/Magdir/unisig           |  12 +
 contrib/file/magic/Magdir/usd              |  21 ++
 contrib/file/magic/Magdir/virtual          |   2 +-
 contrib/file/magic/Magdir/web              |  12 +
 contrib/file/magic/Magdir/windows          | 200 ++++++++-----
 contrib/file/magic/Magdir/wordprocessors   |  19 +-
 contrib/file/magic/Magdir/zip              |  85 ++++--
 contrib/file/src/apprentice.c              | 152 +++++++---
 contrib/file/src/ascmagic.c                |  14 +-
 contrib/file/src/buffer.c                  |   6 +-
 contrib/file/src/compress.c                |  56 ++--
 contrib/file/src/der.c                     |  78 +++--
 contrib/file/src/file.c                    |  90 ++++--
 contrib/file/src/file.h                    |  94 +++---
 contrib/file/src/file_opts.h               |  97 +++---
 contrib/file/src/funcs.c                   | 138 ++++++++-
 contrib/file/src/is_json.c                 |  17 +-
 contrib/file/src/magic.c                   |   5 +-
 contrib/file/src/print.c                   |  29 +-
 contrib/file/src/readelf.c                 |  45 ++-
 contrib/file/src/softmagic.c               | 158 +++++++---
 59 files changed, 2975 insertions(+), 860 deletions(-)
 create mode 100644 contrib/file/magic/Magdir/asf
 create mode 100644 contrib/file/magic/Magdir/dif
 create mode 100644 contrib/file/magic/Magdir/sylk
 create mode 100644 contrib/file/magic/Magdir/unisig
 create mode 100644 contrib/file/magic/Magdir/usd
 create mode 100644 contrib/file/magic/Magdir/web

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c990e5ba296a6fc9cca0b70d4c36d67f474f8a61


-- 
DragonFly BSD source repository



More information about the Commits mailing list