Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ PHP NEWS
. Added enchant_dict_remove_from_session(). (nielsdos)
. Added enchant_dict_remove(). (nielsdos)

- Fileinfo:
. Upgrade to file 5.46. (nielsdos)

- GD:
. Fixed bug #68629 (Transparent artifacts when using imagerotate). (pierre,
cmb)
Expand Down
3 changes: 3 additions & 0 deletions UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,9 @@ PHP 8.5 UPGRADE NOTES
9. Other Changes to Extensions
========================================

- Fileinfo:
. Upgraded to file 5.46.

- Readline:
. The return types of readline_add_history(), readline_clear_history(), and
readline_callback_handler_install() have been changed to true, rather
Expand Down
2 changes: 2 additions & 0 deletions ext/fileinfo/create_data_file.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
for ($i = ord(' '); $i < 0x7F; ++$i) {
$map[chr($i)] = chr($i);
}
// … Except trigraphs
$map["?"] = '\?';
// … Except digits following a \0: \012 will be interpreted as octal 012, and not \0 followed by 12.
// Then we have to express \0 in a full unambiguous 3-chars octal code.
for ($i = ord('0'); $i <= ord('9'); ++$i) {
Expand Down
18,428 changes: 10,114 additions & 8,314 deletions ext/fileinfo/data_file.c

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ext/fileinfo/generate_patch.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

VERSION=5.45
VERSION=5.46

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