diff options
author | lsurn <[email protected]> | 2022-02-10 16:49:33 +0300 |
---|---|---|
committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:33 +0300 |
commit | 45e70bb2432018a4704845621cd9ddd2ceab6ffb (patch) | |
tree | a152f2e39b9786afe16c2a9230f7c4b12a59e4ee /util/system/mktemp_system.cpp | |
parent | 47a7e7b29636bfb2deb1df5f92363b3c75229c95 (diff) |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'util/system/mktemp_system.cpp')
-rw-r--r-- | util/system/mktemp_system.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/util/system/mktemp_system.cpp b/util/system/mktemp_system.cpp index 32bea2987c5..31ed1d20bcd 100644 --- a/util/system/mktemp_system.cpp +++ b/util/system/mktemp_system.cpp @@ -161,15 +161,15 @@ GetTemp(char* path, int* doopen, int domkdir, int slen) } /*NOTREACHED*/ } - + extern "C" int mkstemps(char* path, int slen) { int fd; - + return (GetTemp(path, &fd, 0, slen) ? fd : -1); -} - +} + #if defined(_win_) char* mkdtemp(char* path) { return (GetTemp(path, (int*)nullptr, 1, 0) ? path : (char*)nullptr); -} +} #endif |