From 4635af6b6904b3b75cd4e76f326168c3074997b9 Mon Sep 17 00:00:00 2001 From: Gerd von Egidy Date: Thu, 11 Mar 2010 09:35:59 +0100 Subject: [PATCH] add TODOs --- src/tmpfstream.hpp | 2 ++ src/tmpfstream_impl.hpp | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/tmpfstream.hpp b/src/tmpfstream.hpp index e270ad4..80ad75a 100644 --- a/src/tmpfstream.hpp +++ b/src/tmpfstream.hpp @@ -140,6 +140,8 @@ public: void close(); + // TODO: filemode on close + private: // forbid users to call these functions, no need to disturbe the internals here diff --git a/src/tmpfstream_impl.hpp b/src/tmpfstream_impl.hpp index bdc0997..0526c4a 100644 --- a/src/tmpfstream_impl.hpp +++ b/src/tmpfstream_impl.hpp @@ -118,6 +118,8 @@ bool tmpfstreamTempl::move(const std::string& targetpath, ::unlink(get_tmp_filename().c_str()); return true; } + + // TODO: set tmpfilename to new name to correctly handle double moves } template< typename Device, typename Tr, typename Alloc > -- 1.7.1