Skip to content

Remove use of std::tmpnam.#734

Merged
EricWF merged 1 commit intogoogle:masterfrom
efcs:replace-tempnam
Nov 30, 2018
Merged

Remove use of std::tmpnam.#734
EricWF merged 1 commit intogoogle:masterfrom
efcs:replace-tempnam

Conversation

@EricWF
Copy link
Copy Markdown
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
Copy Markdown
Contributor Author

EricWF commented Nov 29, 2018

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

@coveralls
Copy link
Copy Markdown

Coverage Status

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

@AppVeyorBot
Copy link
Copy Markdown

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.

5 participants