From: Gerd von Egidy Date: Thu, 11 Mar 2010 08:35:59 +0000 (+0100) Subject: add TODOs X-Git-Tag: v2.6~112^2~6 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=4635af6b6904b3b75cd4e76f326168c3074997b9;p=libi2ncommon add TODOs --- 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 >