Skip to content

Commit d8f3c78

Browse files
vaindclaude
andauthored
fix: correct sentry__process_spawn signature in none implementation (#1436)
* fix: correct sentry__process_spawn signature in none implementation PR #1413 changed the arg0 parameter from sentry_pathchar_t* to char* as part of making narrow UTF-8 the canonical path encoding, but the signature in sentry_process_none.c was not updated. This fixes the function signature to match the declaration, changing arg0 from `const sentry_pathchar_t *` to `const char *`. Fixes regression from #1413 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> * Update CHANGELOG with unreleased fixes Added unreleased section with fixes for PS5/Switch compilation regression. --------- Co-authored-by: Claude <[email protected]>
1 parent 3902148 commit d8f3c78

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## Unreleased
4+
5+
**Fixes**:
6+
7+
- PS5/Switch compilation regression (`sentry__process_spawn` signature change) ([#1436](https://github.com/getsentry/sentry-native/pull/1436))
8+
39
## 0.12.0
410

511
**Breaking changes**:

src/process/sentry_process_none.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include "sentry_core.h"
44

55
void
6-
sentry__process_spawn(const sentry_path_t *UNUSED(executable),
7-
const sentry_pathchar_t *UNUSED(arg0), ...)
6+
sentry__process_spawn(
7+
const sentry_path_t *UNUSED(executable), const char *UNUSED(arg0), ...)
88
{
99
}

0 commit comments

Comments
 (0)