The NetBSD Project

CVS log for pkgsrc/devel/p5-Overload-FileCheck/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / p5-Overload-FileCheck

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Oct 29 11:32:02 2026 UTC (2 weeks, 3 days ago) by wen
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -3 lines
Update to 0.015

Upstream changes:
0.015     2026-04-26 09:46:08+02:00 Europe/Vienna
  [New features]
  - feat: add mock_file_check_guard() for scope-based cleanup
  - feat: add stat_as_fifo() helper for named pipe mocking
  - feat: support CHECK_IS_NULL return from mock callbacks (treats target as non-existent)
  [Bug fixes - errno preservation]
  - fix: preserve errno through XS scope cleanup in stat/file-check paths
  - fix: preserve errno through pp_overload_ft_int (-s handler)
  - fix: preserve errno through pp_overload_ft_nv (-M, -A, -C handlers)
  - fix: auto-set errno (ENOENT) for int ops returning CHECK_IS_FALSE
  [Bug fixes - operator behavior]
  - fix: enable -T, -B and other uppercase file-test operators
  - fix: eliminate -B double-dispatch through the mock system
  - fix: return CHECK_IS_NULL for -B/-T on non-existent mock files to avoid double-dispatch
  - fix: restore @stat guard in -B handler to prevent undef warning
  - fix: correct -e false negative for stat results with mode 0
  - fix: use stat (not lstat) for -p/-S/-b/-c in _check_from_stat
  - fix: use stat (not lstat) for -u, -g, -k in mock_all_from_stat
  - fix: resolve -1 sentinel collision for NV ops (-M, -C, -A)
  - fix: handle non-numeric SV types in pp_overload_ft_nv
  - fix: CHECK_IS_FALSE now returns a defined false value instead of undef
  [Bug fixes - input validation / API hardening]
  - fix: croak on trailing dash-option without CODE ref in import list
  - fix: croak on unknown options in stat_as_* helpers
  - fix: croak on unknown user/group names in stat helpers
  - fix: accept bare (non-st_) keys in hash stat mocks
  - fix: accept string-encoded numbers in stat array validation
  - fix: add missing dev/ino/nlink/rdev defaults to stat_as_* helpers
  - fix: preserve original key when looking up stat slot in _stat_for
  - refactor: use Carp::croak instead of die in public API
  [Bug fixes - thread / re-entrancy safety]
  - fix: isolate gl_overload_ft per interpreter via MY_CXT for ithreads safety
  - fix: make _check() re-entrant safe for nested mock callbacks
  - fix: replace assert() with runtime croak for gl_overload_ft null checks
  - fix: release SV refcount in pp_overload_ft_nv before all return paths
  - fix: save original count before drain loop in _overload_ft_ops_nv croak
  [Internals / cleanup]
  - refactor: extract LEAVE_PRESERVING_ERRNO macro for errno-safe scope exits
  - refactor: extract _resolve_check / _normalize_and_validate_check helpers
  - refactor: replace _check_from_stat if/elsif chain with a dispatch table
  - refactor: build %REVERSE_MAP eagerly at module load
  - cleanup: remove debug printfs, dead code, and stale TODOs from XS
  - cleanup: remove unused offset field from OverloadFTOps struct
  - refactor: update stale GitHub URLs from CpanelInc to cpan-authors
  - fix: remove stale docs and fix POD typo
0.014     2026-02-22 10:19:05-07:00 America/Denver
- fix: prevent filehandle reference leak in $_last_call_for
- fix: spelling typos

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Jul 16 19:03:02 2026 UTC (4 months ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
*: recursive bump for perl5 5.44.0

Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Jul 4 08:46:21 2025 UTC (16 months, 1 week ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2026Q2-base, pkgsrc-2026Q2, pkgsrc-2026Q1-base, pkgsrc-2026Q1, pkgsrc-2025Q4-base, pkgsrc-2025Q4, pkgsrc-2025Q3-base, pkgsrc-2025Q3
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -2 lines
*: bump for perl 5.42.0

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Nov 16 12:04:49 2024 UTC (23 months, 4 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2025Q2-base, pkgsrc-2025Q2, pkgsrc-2025Q1-base, pkgsrc-2025Q1, pkgsrc-2024Q4-base, pkgsrc-2024Q4
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -1 lines
*: recursive bump for perl 5.40

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sat Feb 10 01:14:51 2024 UTC (2 years, 9 months ago) by schmonz
Branches: MAIN
CVS tags: pkgsrc-2024Q3-base, pkgsrc-2024Q3, pkgsrc-2024Q2-base, pkgsrc-2024Q2, pkgsrc-2024Q1-base, pkgsrc-2024Q1
Add p5-Overload-FileCheck: Override/mock perl file check -X

Overload::FileCheck provides a way to mock one or more file checks. It
is also possible to mock stat/lstat functions using "mock_all_from_stat"
and let Overload::FileCheck mock for you for any other -X checks.

By using mock_all_file_checks you can set a hook function to reply
any -X check.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>