-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove calls to tmpnam() in protobuf/testing/googletest.cc.
This came up as a pull request here: #18239. |tmpnam| is ugly and would be nice to avoid. We don't necessarily want to substitute out GetTemporaryDirectoryName with |std::filesystem::temp_directory_path| -- the current setup creates a subdirectory under the tmp directory and uses TempDirDeleter to clean it up. We want to preserve that behaviour: the current setup plays nicely with bazel without polluting /tmp with unbounded growth. #test-continuous PiperOrigin-RevId: 677843997
- Loading branch information
1 parent
6f5b35b
commit 86874ce
Showing
1 changed file
with
3 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters