Skip to content

Commit 37dbad8

Browse files
committed
Upgrade to file 5.46
1 parent d3da2a2 commit 37dbad8

21 files changed

+11076
-9012
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ PHP NEWS
4141
. Added enchant_dict_remove_from_session(). (nielsdos)
4242
. Added enchant_dict_remove(). (nielsdos)
4343

44+
- Fileinfo:
45+
. Upgrade to file 5.46. (nielsdos)
46+
4447
- GD:
4548
. Fixed bug #68629 (Transparent artifacts when using imagerotate). (pierre,
4649
cmb)

UPGRADING

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,9 @@ PHP 8.5 UPGRADE NOTES
247247
9. Other Changes to Extensions
248248
========================================
249249

250+
- Fileinfo:
251+
. Upgraded to file 5.46.
252+
250253
- Readline:
251254
. The return types of readline_add_history(), readline_clear_history(), and
252255
readline_callback_handler_install() have been changed to true, rather

ext/fileinfo/create_data_file.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
for ($i = ord(' '); $i < 0x7F; ++$i) {
2020
$map[chr($i)] = chr($i);
2121
}
22+
// … Except trigraphs
23+
$map["?"] = '\?';
2224
// … Except digits following a \0: \012 will be interpreted as octal 012, and not \0 followed by 12.
2325
// Then we have to express \0 in a full unambiguous 3-chars octal code.
2426
for ($i = ord('0'); $i <= ord('9'); ++$i) {

ext/fileinfo/data_file.c

Lines changed: 10115 additions & 8314 deletions
Large diffs are not rendered by default.

ext/fileinfo/generate_patch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22

3-
VERSION=5.45
3+
VERSION=5.46
44

55
# Go to fileinfo extension directory.
66
cd "$(CDPATH='' cd -- "$(dirname -- "$0")" && pwd -P)" || exit

0 commit comments

Comments
 (0)