Wednesday 9th November 2022
Fedora Project
Updated perl-Path-Tiny to 0.142 in Rawhide:
- Deprecations
- Tilde expansion is deprecated due to inconsistent and bug-prone behaviour
- Bug fixes
Prevent expansion of tildes that are not the very first character (e.g. "./~foo")
- Prevent unintentional tilde expansion during internal path processing
- Escape non-tilde glob characters before tilde expansion
Fixed spew/edit to a long filename approaching the filesystem length limit
Internal calls to 'print' are checked for possible errors
- Internal read calls are checked for errors
- Changes
Path stringification now adds "./" in front of paths starting with literal tilde so they will round-trip; FREEZE updated to use this stringification rule as well
'move' now uses File::Copy::move internally instead of the built-in 'rename', allowing it to work across filesystems; it also returns an object for the moved location, allowing chaining
edit_lines_raw now uses a buffered raw I/O layer
edit_lines_utf8 now prefers PerlIO::utf8_strict, if available
lines_utf8 now consistently uses a buffered I/O layer
open*_utf8 now prefers PerlIO::utf8_strict, if available
slurp_utf8 now consistently uses an unbuffered I/O layer
- Documented
- Changed all raw/UTF-8 layer descriptions in method documentation to match the code
Fixed SYNOPSIS syntax
Documented how to disable TMPDIR when making temp files/dirs
- Testing
- Add additional tilde stringification testing
- Fixed tilde expansion tests on Windows
- Skip a problematic test case on Cygwin
Local Packages
Updated dovecot (2.3.19.1) to use Wants=network-online.target instead of preexec nm-online (Bug #2095949)
Updated perl-Path-Tiny to 0.142 as per the Fedora version