mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #255] [CLOSED] strdup for Windows #1429
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#1429
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/255
Author: @DanielSvoboda
Created: 7/7/2024
Status: ❌ Closed
Base:
main← Head:strdup-for-Windows📝 Commits (3)
c6c220cstrdup for Windows0cf3d1fclang-format5efa951clang-format📊 Changes
1 file changed (+14 additions, -0 deletions)
View changed files
📝
src/core/libraries/kernel/file_system.cpp(+14 -0)📄 Description
Adds an implementation of the strdup function for the Windows environment, where it is not standard. This implementation uses strcpy_s to ensure safe string copying. The code is guarded with #ifdef _WIN32 to ensure it compiles only on Windows platforms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.