Skip to content

feat: add sentry__path_rename()#1508

Merged
jpnurmi merged 3 commits into
masterfrom
jpnurmi/feat/path-rename
Feb 9, 2026
Merged

feat: add sentry__path_rename()#1508
jpnurmi merged 3 commits into
masterfrom
jpnurmi/feat/path-rename

Conversation

@jpnurmi

@jpnurmi jpnurmi commented Feb 9, 2026

Copy link
Copy Markdown
Collaborator

Add sentry__path_rename() implemented with POSIX rename() and Win32 MoveFileExW(), plus tests.

Originally authored by @JoshuaMoelans, extracted from #1461 / #1490.

#skip-changelog (internal)

JoshuaMoelans and others added 2 commits February 9, 2026 10:28
Partial cherry pick from commit 2135f0f
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Feb 9, 2026

Copy link
Copy Markdown
Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against d7b3dc9

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Comment thread tests/unit/test_path.c
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jpnurmi jpnurmi requested a review from mujacica February 9, 2026 10:55
@jpnurmi jpnurmi merged commit acc6b4a into master Feb 9, 2026
43 checks passed
@jpnurmi jpnurmi deleted the jpnurmi/feat/path-rename branch February 9, 2026 11:32
BernhardMarconato pushed a commit to elgatosf/sentry-native that referenced this pull request Apr 21, 2026
* feat: add sentry__path_rename()

Partial cherry pick from commit 2135f0f

* test: add unit tests for sentry__path_rename()

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: add null guards before memcmp in path_rename test

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: JoshuaMoelans <60878493+JoshuaMoelans@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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.

3 participants