diff options
author | Kenneth Heafield <github@kheafield.com> | 2013-01-18 19:58:54 +0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2013-01-18 19:59:51 +0400 |
commit | fc5868d0fff647c3879668af4bfe6e1bab9e83ab (patch) | |
tree | d9b5026f32cc5ae603e6f42b1fc7128aeee4ba55 /util/file.hh | |
parent | 5f7b91e702f809577d82a7570778d254d985ba93 (diff) |
KenLM df5be22 lmplz for estimation
Diffstat (limited to 'util/file.hh')
-rw-r--r-- | util/file.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/file.hh b/util/file.hh index 471198b1c..be88431dd 100644 --- a/util/file.hh +++ b/util/file.hh @@ -123,6 +123,8 @@ std::FILE *FDOpenOrThrow(scoped_fd &file); std::FILE *FDOpenReadOrThrow(scoped_fd &file); // Temporary files +// Append a / if base is a directory. +void NormalizeTempPrefix(std::string &base); int MakeTemp(const std::string &prefix); std::FILE *FMakeTemp(const std::string &prefix); |