Skip to content

More constness/C23 fixes [master]#168

Merged
twaugh merged 1 commit intotwaugh:masterfrom
hhoffstaette:constness
Feb 27, 2026
Merged

More constness/C23 fixes [master]#168
twaugh merged 1 commit intotwaugh:masterfrom
hhoffstaette:constness

Conversation

@hhoffstaette
Copy link
Contributor

@hhoffstaette hhoffstaette commented Feb 26, 2026

Description

This is #169 but for the master branch.

Type of Change

  • Bug fix (targets 0.4.x)
  • New feature (targets master)
  • Documentation update
  • Other (please describe)

Testing

make check:

============================================================================
Testsuite summary for patchutils 0.4.5
============================================================================
# TOTAL: 217
# PASS:  209
# SKIP:  0
# XFAIL: 8
# FAIL:  0
# XPASS: 0
# ERROR: 0
============================================================================

This is a followup to twaugh#159 and fixes more glibc-2.43/C23 related const
warnings. Where we can, we make things more const; where necessary we
explicitly treat mutable things as mutable instead of pretending that
they are not.

Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
@codecov
Copy link

codecov bot commented Feb 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.32%. Comparing base (0e9ce17) to head (b24a87b).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #168   +/-   ##
=======================================
  Coverage   86.32%   86.32%           
=======================================
  Files          15       15           
  Lines        8118     8118           
  Branches     1662     1662           
=======================================
  Hits         7008     7008           
  Misses       1110     1110           
Flag Coverage Δ
unittests 86.32% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@twaugh twaugh merged commit bb61dfb into twaugh:master Feb 27, 2026
8 checks passed
@hhoffstaette hhoffstaette deleted the constness branch February 27, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants