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

Remove use of std::tmpnam. #734

Merged
merged 1 commit into from
Nov 30, 2018
Merged

Remove use of std::tmpnam. #734

merged 1 commit into from
Nov 30, 2018

Conversation

EricWF
Copy link
Contributor

@EricWF EricWF commented Nov 29, 2018

std::tmpnam is deprecated and its use is discouraged. For our purposes
in the tests, we really just need a file name which is unlikely to
exist.

This patch converts the tests to using a dummy random file name
generator, which should hopefully avoid name conflicts.

std::tmpnam is deprecated and its use is discouraged. For our purposes
in the tests, we really just need a file name which is unlikely to
exist.

This patch converts the tests to using a dummy random file name
generator, which should hopefully avoid name conflicts.
@EricWF
Copy link
Contributor Author

EricWF commented Nov 29, 2018

@LebedevRI Thanks for the quick review. Just waiting on the bots to cycle.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 89.294% when pulling 2bd23f8 on efcs:replace-tempnam into 19f7d5c on google:master.

@AppVeyorBot
Copy link

Build benchmark 1588 completed (commit 39a7046160 by @EricWF)

@EricWF EricWF merged commit eafa34a into google:master Nov 30, 2018
@EricWF EricWF deleted the replace-tempnam branch November 30, 2018 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants