projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Merging bzr://gaz.tangent.org/libmemcached/build/ to Build branch
[m6w6/libmemcached]
/
libtest
/
tmpfile.cc
diff --git
a/libtest/tmpfile.cc
b/libtest/tmpfile.cc
index 1bbacda3f8ab77ac071888cfb2968175cea60ce4..b7cb5f5e8b9c73b4de4fd97955d02252af158889 100644
(file)
--- a/
libtest/tmpfile.cc
+++ b/
libtest/tmpfile.cc
@@
-35,7
+35,7
@@
std::string create_tmpfile(const std::string& name)
int fd;
if ((fd= mkstemp(file_buffer)) == -1)
{
int fd;
if ((fd= mkstemp(file_buffer)) == -1)
{
- libtest::fatal(LIBYATL_DEFAULT_PARAM, "mkstemp() failed on %s with %s", file_buffer, strerror(errno));
+
throw
libtest::fatal(LIBYATL_DEFAULT_PARAM, "mkstemp() failed on %s with %s", file_buffer, strerror(errno));
}
close(fd);
unlink(file_buffer);
}
close(fd);
unlink(file_buffer);