add TODOs
authorGerd von Egidy <gerd.von.egidy@intra2net.com>
Thu, 11 Mar 2010 08:35:59 +0000 (09:35 +0100)
committerGerd von Egidy <gerd.von.egidy@intra2net.com>
Thu, 11 Mar 2010 08:35:59 +0000 (09:35 +0100)
src/tmpfstream.hpp
src/tmpfstream_impl.hpp

index e270ad4..80ad75a 100644 (file)
@@ -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
index bdc0997..0526c4a 100644 (file)
@@ -118,6 +118,8 @@ bool tmpfstreamTempl<Device,Tr,Alloc>::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 >