From nobody Sun Sep 25 02:16:59 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MZqJv3Zrzz4cw3H; Sun, 25 Sep 2022 02:17:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MZqJv3HWwz40Jk; Sun, 25 Sep 2022 02:17:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664072223; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9SxrPqQxA5heEM8exMmlUdbcdb74PIt9F0dKcbKKikk=; b=D7S30ucQ8Ufx39LXZKxGLVjXl7K7ePnu2Tj9TGPCnvuhFcBAENQbGQDBz3hX8KSXGruyDH UTDh44K57ak+WYG/Hw5Iod/amUAp4NpWEzVEqbzQZcYnUw9Sk0x1gYhxJrc0AczyIR4IO3 aJt1vVp70+iup2sB2eo8wS+9O3Gd++ivwCUtQLyPczLy1wKRTgkOIrmUYjQ+PTR5KD4T8v wNucvICoNtMc3c2ZJdsQN9orK+EDlTuEiMMBabl6EtTnMgfsKZBNpyBHJospP/yDxz9ann cIqErQWvqw4cQn7dbvAClhGkPVPv2ams+9WbQEke9lLV0Rf6oUTd4WCmjBYU8w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MZqJv2JP4zGpn; Sun, 25 Sep 2022 02:17:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 28P2H30N063932; Sun, 25 Sep 2022 02:17:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28P2Gxho063925; Sun, 25 Sep 2022 02:16:59 GMT (envelope-from git) Date: Sun, 25 Sep 2022 02:16:59 GMT Message-Id: <202209250216.28P2Gxho063925@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Xin LI Subject: git: a2dfb7224ec9 - main - file: upgrade to 5.43. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: delphij X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a2dfb7224ec9933ee804cae54d51848dce938b6b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664072223; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=9SxrPqQxA5heEM8exMmlUdbcdb74PIt9F0dKcbKKikk=; b=n5y0guA9l0DWSuWkykgT2TNe0oyOoWzYBpvk6U0rsUeAG2rZJ2a8tkbCIrNDPdwHdfPVH7 T1zC97VVRzZYXCJn0blkJ5xrd4Xlhb2eFoZPjG6NXNa6dvylTBXjFuj9n7uQvtOtJJXhLJ RrxdPLfcCNnQ13mx7hI7vxXKXUqvt38vw4/EhrijgINdfvm9wQTzMXMhfgRgfYhmUMvYYV kdhFqPEPL557FVopfEZyF+e57PFhdDoDQ14N0nmk4ZNfLCd/IEAxiVehsCZ1crFvy+JnQu 6RtPehASrm2Sa7ikI06ZUOtw4ZLJtviFVa00yAV8+HsE+k4joWd8Jn9ElirkSg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664072223; a=rsa-sha256; cv=none; b=bNMZT3cquEwx+HVTg117troMau1QI43lcvkJXyapfAycKeDQFr7lhZAU0l9bf14Abd2OOT l2QkwKuB+yqWjx4/U4TXadFjiM4vtnAl2Vgrk5HAclaXcMLoPFcCnqTcDNbOD/KQDi5hb+ guLrwSx3ji22kaDpVosy6iHkprv1ERnBP7LQ+YyBmFgQFUX42I8+2YuTaoFbmcy4U1xfEx oYkvp7IYGobxGcz78oQXt6YqPKomHAWjVtTCDmFXqRq4tZVG4k0KxiFjEJTJ0BnXgQKIKG CtEMUSTDCoQOVK+xdXebhyLTZXVIVEQDCJj9gQfpC8g6JMec9jCZDCHUtpE1GA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by delphij: URL: https://cgit.FreeBSD.org/src/commit/?id=a2dfb7224ec9933ee804cae54d51848dce938b6b commit a2dfb7224ec9933ee804cae54d51848dce938b6b Merge: 0083eef31cec ac3380060994 Author: Xin LI AuthorDate: 2022-09-25 02:16:39 +0000 Commit: Xin LI CommitDate: 2022-09-25 02:16:39 +0000 file: upgrade to 5.43. MFC after: 3 days contrib/file/ChangeLog | 29 + contrib/file/Makefile.in | 57 +- contrib/file/acinclude.m4 | 3 +- contrib/file/aclocal.m4 | 79 +- contrib/file/compile | 6 +- contrib/file/config.guess | 1424 +++--- contrib/file/config.h.in | 102 +- contrib/file/config.sub | 669 +-- contrib/file/configure | 7041 ++++++++++++++++------------ contrib/file/configure.ac | 2 +- contrib/file/depcomp | 2 +- contrib/file/doc/Makefile.in | 10 +- contrib/file/doc/magic.man | 8 +- contrib/file/magic/Magdir/animation | 6 +- contrib/file/magic/Magdir/archive | 33 +- contrib/file/magic/Magdir/audio | 176 +- contrib/file/magic/Magdir/burp | 7 + contrib/file/magic/Magdir/cafebabe | 8 +- contrib/file/magic/Magdir/compress | 3 +- contrib/file/magic/Magdir/database | 6 +- contrib/file/magic/Magdir/der | 14 +- contrib/file/magic/Magdir/filesystems | 28 +- contrib/file/magic/Magdir/fonts | 3 +- contrib/file/magic/Magdir/gentoo | 80 + contrib/file/magic/Magdir/images | 133 +- contrib/file/magic/Magdir/javascript | 101 +- contrib/file/magic/Magdir/jpeg | 119 +- contrib/file/magic/Magdir/linux | 33 +- contrib/file/magic/Magdir/luks | 117 +- contrib/file/magic/Magdir/mail.news | 50 +- contrib/file/magic/Magdir/msdos | 223 +- contrib/file/magic/Magdir/msooxml | 5 +- contrib/file/magic/Magdir/ole2compounddocs | 14 +- contrib/file/magic/Magdir/pascal | 27 +- contrib/file/magic/Magdir/python | 118 +- contrib/file/magic/Magdir/riff | 23 +- contrib/file/magic/Magdir/ringdove | 45 + contrib/file/magic/Magdir/sgml | 4 +- contrib/file/magic/Magdir/sniffer | 7 +- contrib/file/magic/Magdir/sql | 8 +- contrib/file/magic/Magdir/subtitle | 38 + contrib/file/magic/Magdir/virtual | 8 +- contrib/file/magic/Magdir/webassembly | 4 +- contrib/file/magic/Magdir/windows | 176 +- contrib/file/magic/Magdir/wordprocessors | 174 +- contrib/file/magic/Magdir/xo65 | 9 +- contrib/file/magic/Makefile.am | 6 +- contrib/file/magic/Makefile.in | 16 +- contrib/file/missing | 2 +- contrib/file/python/Makefile.in | 12 +- contrib/file/python/magic.py | 36 +- contrib/file/python/tests.py | 8 +- contrib/file/src/Makefile.in | 17 +- contrib/file/src/apprentice.c | 16 +- contrib/file/src/compress.c | 5 +- contrib/file/src/der.c | 20 +- contrib/file/src/encoding.c | 8 +- contrib/file/src/file.c | 107 +- contrib/file/src/file.h | 17 +- contrib/file/src/file_opts.h | 2 +- contrib/file/src/fmtcheck.c | 3 + contrib/file/src/funcs.c | 5 +- contrib/file/src/is_json.c | 50 +- contrib/file/src/is_tar.c | 15 +- contrib/file/src/memtest.c | 4 + contrib/file/src/print.c | 28 +- contrib/file/src/readelf.c | 16 +- contrib/file/src/seccomp.c | 4 +- contrib/file/src/softmagic.c | 61 +- contrib/file/src/strlcat.c | 3 + contrib/file/src/strlcpy.c | 3 + contrib/file/src/vasprintf.c | 4 +- contrib/file/tests/Makefile.am | 14 + contrib/file/tests/Makefile.in | 26 +- contrib/file/tests/dsd64-dff.result | 1 + contrib/file/tests/dsd64-dff.testfile | Bin 0 -> 17922 bytes contrib/file/tests/dsd64-dsf.result | 1 + contrib/file/tests/dsd64-dsf.testfile | Bin 0 -> 20707 bytes contrib/file/tests/gpkg-1-zst.result | 1 + contrib/file/tests/gpkg-1-zst.testfile | Bin 0 -> 1024 bytes contrib/file/tests/json6.result | 1 + contrib/file/tests/json6.testfile | 1 + contrib/file/tests/json7.result | 1 + contrib/file/tests/json7.testfile | 1 + contrib/file/tests/json8.result | 1 + contrib/file/tests/json8.testfile | 1 + contrib/file/tests/jsonlines1.result | 1 + contrib/file/tests/jsonlines1.testfile | 2 + contrib/file/tests/test.c | 2 + lib/libmagic/config.h | 108 +- 90 files changed, 7437 insertions(+), 4425 deletions(-) diff --cc contrib/file/magic/Magdir/burp index 000000000000,460d18c4c27f..460d18c4c27f mode 000000,100644..100644 --- a/contrib/file/magic/Magdir/burp +++ b/contrib/file/magic/Magdir/burp diff --cc contrib/file/magic/Magdir/gentoo index 000000000000,f1a91acfedc1..f1a91acfedc1 mode 000000,100644..100644 --- a/contrib/file/magic/Magdir/gentoo +++ b/contrib/file/magic/Magdir/gentoo diff --cc contrib/file/magic/Magdir/ringdove index 000000000000,38dd4bfe6669..38dd4bfe6669 mode 000000,100644..100644 --- a/contrib/file/magic/Magdir/ringdove +++ b/contrib/file/magic/Magdir/ringdove diff --cc contrib/file/magic/Magdir/subtitle index 000000000000,cfbe293d59ed..cfbe293d59ed mode 000000,100644..100644 --- a/contrib/file/magic/Magdir/subtitle +++ b/contrib/file/magic/Magdir/subtitle diff --cc contrib/file/src/file.c index bb058ce1e008,1566a17ff00b..0efbb92cd520 --- a/contrib/file/src/file.c +++ b/contrib/file/src/file.c @@@ -550,6 -558,58 +558,58 @@@ out: file_err(EXIT_FAILURE, "Cannot al return e; } + private void + file_octal(unsigned char c) + { + putc('\\', stdout); + putc(((c >> 6) & 7) + '0', stdout); + putc(((c >> 3) & 7) + '0', stdout); + putc(((c >> 0) & 7) + '0', stdout); + } + + private void + fname_print(const char *inname) + { + size_t n = strlen(inname); + #ifdef FILE_WIDE_SUPPORT + mbstate_t state; + wchar_t nextchar; + size_t bytesconsumed; + + + (void)memset(&state, 0, sizeof(state)); + while (n > 0) { + bytesconsumed = mbrtowc(&nextchar, inname, n, &state); + if (bytesconsumed == CAST(size_t, -1) || + bytesconsumed == CAST(size_t, -2)) { + nextchar = *inname++; + n--; + (void)memset(&state, 0, sizeof(state)); + file_octal(CAST(unsigned char, nextchar)); + continue; + } + inname += bytesconsumed; + n -= bytesconsumed; + if (iswprint(nextchar)) { - printf("%lc", nextchar); ++ printf("%lc", (wint_t)nextchar); + continue; + } + /* XXX: What if it is > 255? */ + file_octal(CAST(unsigned char, nextchar)); + } + #else + size_t i; + for (i = 0; i < n; i++) { + unsigned char c = CAST(unsigned char, inname[i]); + if (isprint(c)) { + putc(c); + continue; + } + file_octal(c); + } + #endif + } + /* * Called for each input file on the command line (or in a list of files) */ diff --cc contrib/file/tests/dsd64-dff.result index 000000000000,0c8d823ed5e0..0c8d823ed5e0 mode 000000,100644..100644 --- a/contrib/file/tests/dsd64-dff.result +++ b/contrib/file/tests/dsd64-dff.result diff --cc contrib/file/tests/dsd64-dff.testfile index 000000000000,b5aba6203dcc..b5aba6203dcc mode 000000,100644..100644 Binary files differ diff --cc contrib/file/tests/dsd64-dsf.result index 000000000000,cf67839c96fa..cf67839c96fa mode 000000,100644..100644 --- a/contrib/file/tests/dsd64-dsf.result +++ b/contrib/file/tests/dsd64-dsf.result diff --cc contrib/file/tests/dsd64-dsf.testfile index 000000000000,a1d106d80b0b..a1d106d80b0b mode 000000,100644..100644 Binary files differ diff --cc contrib/file/tests/gpkg-1-zst.result index 000000000000,e99149450b1a..e99149450b1a mode 000000,100644..100644 --- a/contrib/file/tests/gpkg-1-zst.result +++ b/contrib/file/tests/gpkg-1-zst.result diff --cc contrib/file/tests/gpkg-1-zst.testfile index 000000000000,00c71c018b73..00c71c018b73 mode 000000,100644..100644 Binary files differ diff --cc contrib/file/tests/json6.result index 000000000000,550d7ac2f9db..550d7ac2f9db mode 000000,100644..100644 --- a/contrib/file/tests/json6.result +++ b/contrib/file/tests/json6.result diff --cc contrib/file/tests/json6.testfile index 000000000000,db310f371673..db310f371673 mode 000000,100644..100644 --- a/contrib/file/tests/json6.testfile +++ b/contrib/file/tests/json6.testfile diff --cc contrib/file/tests/json7.result index 000000000000,90965495a30f..90965495a30f mode 000000,100644..100644 --- a/contrib/file/tests/json7.result +++ b/contrib/file/tests/json7.result diff --cc contrib/file/tests/json7.testfile index 000000000000,cc723b0e6535..cc723b0e6535 mode 000000,100644..100644 --- a/contrib/file/tests/json7.testfile +++ b/contrib/file/tests/json7.testfile diff --cc contrib/file/tests/json8.result index 000000000000,550d7ac2f9db..550d7ac2f9db mode 000000,100644..100644 --- a/contrib/file/tests/json8.result +++ b/contrib/file/tests/json8.result diff --cc contrib/file/tests/json8.testfile index 000000000000,5114526573d1..5114526573d1 mode 000000,100644..100644 --- a/contrib/file/tests/json8.testfile +++ b/contrib/file/tests/json8.testfile diff --cc contrib/file/tests/jsonlines1.result index 000000000000,4615201f8fc4..4615201f8fc4 mode 000000,100644..100644 --- a/contrib/file/tests/jsonlines1.result +++ b/contrib/file/tests/jsonlines1.result diff --cc contrib/file/tests/jsonlines1.testfile index 000000000000,9b47441a58a8..9b47441a58a8 mode 000000,100644..100644 --- a/contrib/file/tests/jsonlines1.testfile +++ b/contrib/file/tests/jsonlines1.testfile diff --cc lib/libmagic/config.h index 2dc6ad7fb3fa,000000000000..220321c64af7 mode 100644,000000..100644 --- a/lib/libmagic/config.h +++ b/lib/libmagic/config.h @@@ -1,446 -1,0 +1,502 @@@ +/* config.h. Generated from config.h.in by configure. */ +/* config.h.in. Generated from configure.ac by autoheader. */ + +/* Define if building universal (internal helper macro) */ +/* #undef AC_APPLE_UNIVERSAL_BUILD */ + +/* Define in built-in ELF support is used */ +#define BUILTIN_ELF 1 + +/* Enable bzlib compression support */ +/* #undef BZLIBSUPPORT */ + +/* Define for ELF core file support */ +#define ELFCORE 1 + +/* Define to 1 if you have the `asctime_r' function. */ +#define HAVE_ASCTIME_R 1 + +/* Define to 1 if you have the `asprintf' function. */ +#define HAVE_ASPRINTF 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_BYTESWAP_H */ + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_BZLIB_H */ + +/* Define to 1 if you have the `ctime_r' function. */ +#define HAVE_CTIME_R 1 + +/* HAVE_DAYLIGHT */ +/* #undef HAVE_DAYLIGHT */ + +/* Define to 1 if you have the declaration of `daylight', and to 0 if you + don't. */ +#define HAVE_DECL_DAYLIGHT 0 + +/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't. + */ +#define HAVE_DECL_TZNAME 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_DLFCN_H 1 + +/* Define to 1 if you have the `dprintf' function. */ +#define HAVE_DPRINTF 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_ERR_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* Define to 1 if you have the `fmtcheck' function. */ +#define HAVE_FMTCHECK 1 + +/* Define to 1 if you have the `fork' function. */ +#define HAVE_FORK 1 + +/* Define to 1 if you have the `freelocale' function. */ +#define HAVE_FREELOCALE 1 + +/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ +#define HAVE_FSEEKO 1 + +/* Define to 1 if you have the `getline' function. */ +#define HAVE_GETLINE 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_GETOPT_H 1 + +/* Define to 1 if you have the `getopt_long' function. */ +#define HAVE_GETOPT_LONG 1 + +/* Define to 1 if you have the `getpagesize' function. */ +#define HAVE_GETPAGESIZE 1 + +/* Define to 1 if you have the `gmtime_r' function. */ +#define HAVE_GMTIME_R 1 + +/* Define to 1 if the system has the type `intptr_t'. */ +#define HAVE_INTPTR_T 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if you have the `bz2' library (-lbz2). */ +/* #undef HAVE_LIBBZ2 */ + +/* Define to 1 if you have the `gnurx' library (-lgnurx). */ +/* #undef HAVE_LIBGNURX */ + +/* Define to 1 if you have the `lzma' library (-llzma). */ +/* #undef HAVE_LIBLZMA */ + +/* Define to 1 if you have the `seccomp' library (-lseccomp). */ +/* #undef HAVE_LIBSECCOMP */ + +/* Define to 1 if you have the `z' library (-lz). */ +#define HAVE_LIBZ 1 + +/* Define to 1 if you have the `localtime_r' function. */ +#define HAVE_LOCALTIME_R 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_LZMA_H */ + +/* Define to 1 if mbrtowc and mbstate_t are properly declared. */ +#define HAVE_MBRTOWC 1 + +/* Define to 1 if declares mbstate_t. */ +#define HAVE_MBSTATE_T 1 + +/* Define to 1 if you have the `memmem' function. */ +#define HAVE_MEMMEM 1 + - /* Define to 1 if you have the header file. */ - #define HAVE_MEMORY_H 1 ++/* Define to 1 if you have the header file. */ ++/* #undef HAVE_MINIX_CONFIG_H */ + +/* Define to 1 if you have the `mkostemp' function. */ +#define HAVE_MKOSTEMP 1 + +/* Define to 1 if you have the `mkstemp' function. */ +#define HAVE_MKSTEMP 1 + +/* Define to 1 if you have a working `mmap' system call. */ +#define HAVE_MMAP 1 + +/* Define to 1 if you have the `newlocale' function. */ +#define HAVE_NEWLOCALE 1 + +/* Define to 1 if you have the `pipe2' function. */ +#ifndef __APPLE__ /* Cross building tools on macOS */ +#define HAVE_PIPE2 1 +#endif + +/* Define to 1 if you have the `posix_spawnp' function. */ +#define HAVE_POSIX_SPAWNP 1 + +/* Define to 1 if you have the `pread' function. */ +#define HAVE_PREAD 1 + +/* Have sig_t type */ +#define HAVE_SIG_T 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SPAWN_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STDINT_H 1 + ++/* Define to 1 if you have the header file. */ ++#define HAVE_STDIO_H 1 ++ +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the `strcasestr' function. */ +#define HAVE_STRCASESTR 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the `strlcat' function. */ +#define HAVE_STRLCAT 1 + +/* Define to 1 if you have the `strlcpy' function. */ +#define HAVE_STRLCPY 1 + +/* Define to 1 if you have the `strndup' function. */ +#define HAVE_STRNDUP 1 + +/* Define to 1 if you have the `strtof' function. */ +#define HAVE_STRTOF 1 + +/* HAVE_STRUCT_OPTION */ +#define HAVE_STRUCT_OPTION 1 + +/* Define to 1 if `st_rdev' is a member of `struct stat'. */ +#define HAVE_STRUCT_STAT_ST_RDEV 1 + +/* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */ +#define HAVE_STRUCT_TM_TM_GMTOFF 1 + +/* Define to 1 if `tm_zone' is a member of `struct tm'. */ +#define HAVE_STRUCT_TM_TM_ZONE 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_BSWAP_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_IOCTL_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_MMAN_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_SYSMACROS_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_SYS_UTIME_H */ + +/* Define to 1 if you have that is POSIX.1 compatible. */ +#define HAVE_SYS_WAIT_H 1 + +/* HAVE_TM_ISDST */ +#define HAVE_TM_ISDST 1 + +/* HAVE_TM_ZONE */ +#define HAVE_TM_ZONE 1 + +/* HAVE_TZNAME */ +#define HAVE_TZNAME 1 + +/* Define to 1 if the system has the type `uintptr_t'. */ +#define HAVE_UINTPTR_T 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_UNISTD_H 1 + +/* Define to 1 if you have the `uselocale' function. */ +#define HAVE_USELOCALE 1 + +/* Define to 1 if you have the `utime' function. */ +#define HAVE_UTIME 1 + +/* Define to 1 if you have the `utimes' function. */ +#define HAVE_UTIMES 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_UTIME_H 1 + +/* Define to 1 if you have the `vasprintf' function. */ +#define HAVE_VASPRINTF 1 + +/* Define to 1 if you have the `vfork' function. */ +#define HAVE_VFORK 1 + +/* Define to 1 if you have the header file. */ +/* #undef HAVE_VFORK_H */ + +/* Define to 1 or 0, depending whether the compiler supports simple visibility + declarations. */ +#define HAVE_VISIBILITY 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_WCHAR_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_WCTYPE_H 1 + +/* Define to 1 if you have the `wcwidth' function. */ +#define HAVE_WCWIDTH 1 + +/* Define to 1 if `fork' works. */ +#define HAVE_WORKING_FORK 1 + +/* Define to 1 if `vfork' works. */ +#define HAVE_WORKING_VFORK 1 + +/* Define to 1 if you have the header file. */ +#ifndef __linux__ /* Cross building tools build with glibc on linux */ +#define HAVE_XLOCALE_H 1 +#endif + +/* Define to 1 if you have the header file. */ +#define HAVE_ZLIB_H 1 + +/* Define to the sub-directory where libtool stores uninstalled libraries. */ +#define LT_OBJDIR ".libs/" + +/* Define to 1 if `major', `minor', and `makedev' are declared in . + */ +/* #undef MAJOR_IN_MKDEV */ + +/* Define to 1 if `major', `minor', and `makedev' are declared in + . */ +/* #undef MAJOR_IN_SYSMACROS */ + +/* Name of package */ +#define PACKAGE "file" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "christos@astron.com" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "file" + +/* Define to the full name and version of this package. */ - #define PACKAGE_STRING "file 5.42" ++#define PACKAGE_STRING "file 5.43" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "file" + +/* Define to the home page for this package. */ +#define PACKAGE_URL "" + +/* Define to the version of this package. */ - #define PACKAGE_VERSION "5.42" ++#define PACKAGE_VERSION "5.43" + - /* Define to 1 if you have the ANSI C header files. */ ++/* Define to 1 if all of the C90 standard headers exist (not just the ones ++ required in a freestanding environment). This macro is provided for ++ backward compatibility; new code need not use it. */ +#define STDC_HEADERS 1 + +/* Define to 1 if your declares `struct tm'. */ +/* #undef TM_IN_SYS_TIME */ + +/* Enable extensions on AIX 3, Interix. */ +#ifndef _ALL_SOURCE +# define _ALL_SOURCE 1 +#endif ++/* Enable general extensions on macOS. */ ++#ifndef _DARWIN_C_SOURCE ++# define _DARWIN_C_SOURCE 1 ++#endif ++/* Enable general extensions on Solaris. */ ++#ifndef __EXTENSIONS__ ++# define __EXTENSIONS__ 1 ++#endif +/* Enable GNU extensions on systems that have them. */ +#ifndef _GNU_SOURCE +# define _GNU_SOURCE 1 +#endif - /* Enable threading extensions on Solaris. */ ++/* Enable X/Open compliant socket functions that do not require linking ++ with -lxnet on HP-UX 11.11. */ ++#ifndef _HPUX_ALT_XOPEN_SOCKET_API ++# define _HPUX_ALT_XOPEN_SOCKET_API 1 ++#endif ++/* Identify the host operating system as Minix. ++ This macro does not affect the system headers' behavior. ++ A future release of Autoconf may stop defining this macro. */ ++#ifndef _MINIX ++/* # undef _MINIX */ ++#endif ++/* Enable general extensions on NetBSD. ++ Enable NetBSD compatibility extensions on Minix. */ ++#ifndef _NETBSD_SOURCE ++# define _NETBSD_SOURCE 1 ++#endif ++/* Enable OpenBSD compatibility extensions on NetBSD. ++ Oddly enough, this does nothing on OpenBSD. */ ++#ifndef _OPENBSD_SOURCE ++# define _OPENBSD_SOURCE 1 ++#endif ++/* Define to 1 if needed for POSIX-compatible behavior. */ ++#ifndef _POSIX_SOURCE ++/* # undef _POSIX_SOURCE */ ++#endif ++/* Define to 2 if needed for POSIX-compatible behavior. */ ++#ifndef _POSIX_1_SOURCE ++/* # undef _POSIX_1_SOURCE */ ++#endif ++/* Enable POSIX-compatible threading on Solaris. */ +#ifndef _POSIX_PTHREAD_SEMANTICS +# define _POSIX_PTHREAD_SEMANTICS 1 +#endif ++/* Enable extensions specified by ISO/IEC TS 18661-5:2014. */ ++#ifndef __STDC_WANT_IEC_60559_ATTRIBS_EXT__ ++# define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1 ++#endif ++/* Enable extensions specified by ISO/IEC TS 18661-1:2014. */ ++#ifndef __STDC_WANT_IEC_60559_BFP_EXT__ ++# define __STDC_WANT_IEC_60559_BFP_EXT__ 1 ++#endif ++/* Enable extensions specified by ISO/IEC TS 18661-2:2015. */ ++#ifndef __STDC_WANT_IEC_60559_DFP_EXT__ ++# define __STDC_WANT_IEC_60559_DFP_EXT__ 1 ++#endif ++/* Enable extensions specified by ISO/IEC TS 18661-4:2015. */ ++#ifndef __STDC_WANT_IEC_60559_FUNCS_EXT__ ++# define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1 ++#endif ++/* Enable extensions specified by ISO/IEC TS 18661-3:2015. */ ++#ifndef __STDC_WANT_IEC_60559_TYPES_EXT__ ++# define __STDC_WANT_IEC_60559_TYPES_EXT__ 1 ++#endif ++/* Enable extensions specified by ISO/IEC TR 24731-2:2010. */ ++#ifndef __STDC_WANT_LIB_EXT2__ ++# define __STDC_WANT_LIB_EXT2__ 1 ++#endif ++/* Enable extensions specified by ISO/IEC 24747:2009. */ ++#ifndef __STDC_WANT_MATH_SPEC_FUNCS__ ++# define __STDC_WANT_MATH_SPEC_FUNCS__ 1 ++#endif +/* Enable extensions on HP NonStop. */ +#ifndef _TANDEM_SOURCE +# define _TANDEM_SOURCE 1 +#endif - /* Enable general extensions on Solaris. */ - #ifndef __EXTENSIONS__ - # define __EXTENSIONS__ 1 ++/* Enable X/Open extensions. Define to 500 only if necessary ++ to make mbstate_t available. */ ++#ifndef _XOPEN_SOURCE ++/* # undef _XOPEN_SOURCE */ +#endif + + +/* Version number of package */ - #define VERSION "5.42" ++#define VERSION "5.43" + +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +/* # undef WORDS_BIGENDIAN */ +# endif +#endif + +/* Enable xzlib compression support */ +/* #undef XZLIBSUPPORT */ + +/* Enable zlib compression support */ +#define ZLIBSUPPORT 1 + - /* Enable large inode numbers on Mac OS X 10.5. */ - #ifndef _DARWIN_USE_64_BIT_INODE - # define _DARWIN_USE_64_BIT_INODE 1 - #endif - +/* Number of bits in a file offset, on hosts where this is settable. */ +/* #undef _FILE_OFFSET_BITS */ + +/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ +/* #undef _LARGEFILE_SOURCE */ + +/* Define for large files, on AIX-style hosts. */ +/* #undef _LARGE_FILES */ + - /* Define to 1 if on MINIX. */ - /* #undef _MINIX */ - - /* Define to 2 if the system does not provide POSIX.1 features except with - this defined. */ - /* #undef _POSIX_1_SOURCE */ - - /* Define to 1 if you need to in order for `stat' and other things to work. */ - /* #undef _POSIX_SOURCE */ - +/* Define for Solaris 2.5.1 so the uint32_t typedef from , + , or is not used. If the typedef were allowed, the + #define below would cause a syntax error. */ +/* #undef _UINT32_T */ + +/* Define for Solaris 2.5.1 so the uint64_t typedef from , + , or is not used. If the typedef were allowed, the + #define below would cause a syntax error. */ +/* #undef _UINT64_T */ + +/* Define for Solaris 2.5.1 so the uint8_t typedef from , + , or is not used. If the typedef were allowed, the + #define below would cause a syntax error. */ +/* #undef _UINT8_T */ + +/* Define to the type of a signed integer type of width exactly 32 bits if + such a type exists and the standard includes do not define it. */ +/* #undef int32_t */ + +/* Define to the type of a signed integer type of width exactly 64 bits if + such a type exists and the standard includes do not define it. */ +/* #undef int64_t */ + +/* Define to the type of a signed integer type wide enough to hold a pointer, + if such a type exists, and if the system does not define it. */ +/* #undef intptr_t */ + +/* Define to a type if does not define. */ +/* #undef mbstate_t */ + +/* Define to `long int' if does not define. */ +/* #undef off_t */ + - /* Define to `int' if does not define. */ ++/* Define as a signed integer type capable of holding a process identifier. */ +/* #undef pid_t */ + +/* Define to `unsigned int' if does not define. */ +/* #undef size_t */ + +/* Define to the type of an unsigned integer type of width exactly 16 bits if + such a type exists and the standard includes do not define it. */ +/* #undef uint16_t */ + +/* Define to the type of an unsigned integer type of width exactly 32 bits if + such a type exists and the standard includes do not define it. */ +/* #undef uint32_t */ + +/* Define to the type of an unsigned integer type of width exactly 64 bits if + such a type exists and the standard includes do not define it. */ +/* #undef uint64_t */ + +/* Define to the type of an unsigned integer type of width exactly 8 bits if + such a type exists and the standard includes do not define it. */ +/* #undef uint8_t */ + +/* Define to the type of an unsigned integer type wide enough to hold a + pointer, if such a type exists, and if the system does not define it. */ +/* #undef uintptr_t */ + +/* Define as `fork' if `vfork' does not work. */ +/* #undef vfork */