openTempFile fails when the template parameter contain a path separator
If the template string contains a path separator, for example "a/b" then openTempFile just fails with a message which does not even indicate what the problem might be. It displays the following message:
mod: /tmp/: openTempFile: does not exist (No such file or directory)
It can either provide a better error message, saying that path separator is not allowed or if it is legal to allow a path separator then it should create that path in the temp dir.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.0.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | libraries/base |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |