php-src/ext/fileinfo
Hans Krentel (hakre) 329890c149
Fail early in *nix build script
Adding one more [1] exit early safeguard in *nix build scripts:

Given the initial cd into the build tree fails (the project root),
   the `buildconf` script exits with non-zero status (failure).

Additionally quoting the pathname to cd into and the empty CD_PATH
parameter for portability, also for systems that are using a
non-portable pathname [2] for the build tree.

[1]: https://github.com/php/php-src/pull/16717
[2]: https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_271

Closes GH-16724.
2024-11-09 14:09:58 +01:00
..
libmagic Merge branch 'PHP-8.3' 2024-07-11 16:40:39 +02:00
tests backporting GH-15755 fix. 2024-09-05 02:02:36 +01:00
config.m4 Add pcre as a configure step dependency to fileinfo (#15349) 2024-08-12 00:17:29 +02:00
config.w32 Add pcre as a configure step dependency to fileinfo (#15349) 2024-08-12 00:17:29 +02:00
create_data_file.php Fix bug #65106: PHP fails to compile ext/fileinfo 2024-03-22 15:00:15 +01:00
CREDITS It looks like i should've taken joint response on ext/fileinfo long ago 2017-10-11 22:21:34 +02:00
data_file.c Fix bug #65106: PHP fails to compile ext/fileinfo 2024-03-22 15:00:15 +01:00
fileinfo_arginfo.h Fix registration of internal readonly child classes (#15459) 2024-08-24 12:36:54 +02:00
fileinfo.c backporting GH-15755 fix. 2024-09-05 02:02:36 +01:00
fileinfo.stub.php Declare the missing true return types (#13709) 2024-03-16 07:26:37 +01:00
generate_patch.sh Fail early in *nix build script 2024-11-09 14:09:58 +01:00
libmagic.patch Sync PHP_FILEINFO_UNCOMPRESS #if/ifdef/defined (#14525) 2024-06-10 08:11:25 +02:00
magicdata.patch Update libmagic to 5.45 (#13369) 2024-02-13 21:11:57 +01:00
Makefile.frag Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
php_fileinfo.h fileinfo: Introduce php_libmagic.* to simplify patch 2022-10-02 03:02:47 +02:00
php_libmagic.c ext/fileinfo: Fix [-Wsign-compare] warnings 2024-06-06 16:18:23 +01:00
php_libmagic.h Remove redundant win32/unistd.h includes (#14533) 2024-06-11 09:47:23 +02:00