8000 Avoid using deprecated tmp functions by AngheloAlf · Pull Request #11 · decompals/ido-static-recomp · GitHub
[go: up one dir, main page]

Skip to content

Avoid using deprecated tmp functions#11

Merged
hensldm merged 6 commits intodecompals:masterfrom
AngheloAlf:dont-use-deprecated-functions
Sep 15, 2022
Merged

Avoid using deprecated tmp functions#11
hensldm merged 6 commits intodecompals:masterfrom
AngheloAlf:dont-use-deprecated-functions

Conversation

@AngheloAlf
Copy link
Contributor

Reimplement wrapper_tempnam, wrapper_tmpnam and wrapper_mktemp to use internally mkstemp but mimic the original behaviour.
I did this mainly because the linker warnings about those functions being unsafe were annoying me. Since the reimplementations mimic the originals then they should be as unsafe as the originals, but without the warnings :D
Tested with MM

Copy link
Contributor
@hensldm hensldm left a comment

Choose a reason for hiding this comment

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

Some dead code leftover.

AngheloAlf and others added 3 commits September 14, 2022 12:18
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
Co-authored-by: Derek Hensley <hensley.derek58@gmail.com>
@hensldm hensldm merged commit db1e477 into decompals:master Sep 15, 2022
@AngheloAlf AngheloAlf deleted the dont-use-deprecated-functions branch September 18, 2022 19:00
hensldm added a commit to hensldm/ido-recomp that referenced this pull request Mar 17, 2023
hensldm added a commit that referenced this pull request Mar 18, 2023
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

0