[Liblas-commits] hg: use mkstemp instead of mktemp
liblas-commits at liblas.org
liblas-commits at liblas.org
Sun Aug 22 23:27:05 EDT 2010
changeset f8c2bf0bcbfb in /Volumes/Data/www/liblas.org/hg
details: http://hg.liblas.orghg?cmd=changeset;node=f8c2bf0bcbfb
summary: use mkstemp instead of mktemp
diffstat:
src/lasspatialreference.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 5bcd87070e37 -r f8c2bf0bcbfb src/lasspatialreference.cpp
--- a/src/lasspatialreference.cpp Sun Aug 22 13:51:30 2010 -0500
+++ b/src/lasspatialreference.cpp Sun Aug 22 22:26:57 2010 -0500
@@ -698,7 +698,7 @@
#else
char tmpName[6] = "XXXXX";
- if (mktemp(tmpName) == 0)
+ if (mkstemp(tmpName) == 0)
throw std::runtime_error("Could not allocate temporary file name");
filename = tmpName;
#endif
More information about the Liblas-commits
mailing list