Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tinystdio: Resolve issue with tmpnam #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mostafa-salmaan
Copy link
Collaborator

The tmpname() function should generate a different temporary file name each time it is called up. But, the original implementation of tmpnam function generates identical file names on subsequent calls.

So, we need to fix this implementation to generate a different temporary file name upon each invocation.

The tmpname() function should generate a different temporary file name each time it is called up.
But, the original implementation of tmpnam function generates identical file names on subsequent calls.

So, we need to fix this implementation to generate a different temporary file name upon each invocation.

Signed-off-by: Mostafa Salman <[email protected]>
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.

1 participant