| Name: | perl-Path-Tiny |
|---|---|
| Version: | 0.144 |
| Release: | 9.el10 |
| Architecture: | noarch |
| Group: | Unspecified |
| Size: | 236650 |
| License: | Apache-2.0 |
| RPM: | perl-Path-Tiny-0.144-9.el10.noarch.rpm |
| Source RPM: | perl-Path-Tiny-0.144-9.el10.src.rpm |
| Build Date: | Tue Jan 28 2025 |
| Build Host: | build-ol10-x86_64.oracle.com |
| Vendor: | Oracle America |
| URL: | https://metacpan.org/release/Path-Tiny |
| Summary: | File path utility |
| Description: | This module attempts to provide a small, fast utility for working with file paths. It is friendlier to use than File::Spec and provides easy access to functions from several other core file handling modules. It doesn't attempt to be as full-featured as IO::All or Path::Class, nor does it try to work for anything except Unix-like and Win32 platforms. Even then, it might break if you try something particularly obscure or tortuous. All paths are forced to have Unix-style forward slashes. Stringifying the object gives you back the path (after some clean up). File input/output methods flock handles before reading or writing, as appropriate. The *_utf8 methods (slurp_utf8, lines_utf8, etc.) operate in raw mode without CRLF translation. |
- Bump release for October 2024 mass rebuild: Resolves: RHEL-64018
- Fix filters of dependencies
- Package tests
- Bump release for June 2024 mass rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
- Update to 0.144 - Fixed tilde expansion tests where ~root expands to '/'
- Update to 0.142
Deprecations
- Tilde expansion is deprecated due to inconsistent and bug-prone behavior
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