mirror of
https://github.com/boostorg/filesystem.git
synced 2026-02-24 03:52:18 +00:00
70 lines
3.0 KiB
HTML
70 lines
3.0 KiB
HTML
<title>Boost Filesystem Do-list</title>
|
|
<h1>
|
|
<img border="0" src="../../../c++boost.gif" align="center" width="277" height="86">Filesystem
|
|
Do-list</h1>
|
|
<ul>
|
|
<li>Docs for boost/filesystem/exception.hpp still needed!<br>
|
|
</li>
|
|
<li>Final resolution of the move vs rename issue.<br>
|
|
</li>
|
|
<li>Pavel Vozenilek writes: rename() function from operations.hpp should state
|
|
whether any guarantee is fulfilled (atomic operation, no copy semantic, file
|
|
integrity, etc).<br>
|
|
<br>
|
|
For example people use UNIX system command 'mv' to ensure moved file
|
|
integrity.<br>
|
|
<br>
|
|
Currently MoveFile() used for Windows implementation ensures nothing.
|
|
MoveFileEx() provides 'no copy' semantic but this function isn't available on
|
|
Win95/98.<br>
|
|
</li>
|
|
<li>Windows: Some files seem to be poisoned to the point where you can't even
|
|
do is_directory() on them with an access error. For example,
|
|
pagefile.sys. Should directory_iterator ignore these files?<br>
|
|
</li>
|
|
<li>Windows: //share style paths need more analysis and test cases for system_complete()
|
|
and complete(). Also, path_test cases at line 410 need review, correction.<br>
|
|
</li>
|
|
<li>Windows: What happens when a directory_itorator encounters a
|
|
wide-character filename? Write a test case.<br>
|
|
</li>
|
|
<li>Windows: Resolve the current confusion between running on a POSIX O/S, and using
|
|
the POSIX functions (via gcc) on Windows. This is the cause of the Win32 gcc
|
|
regression test failure.<br>
|
|
</li>
|
|
<li>Links and cyclic paths:</li>
|
|
</ul>
|
|
<blockquote>
|
|
<ul>
|
|
<li>General requirements. How do links work on Windows and POSIX?</li>
|
|
<li>Add cycle-breaking code if needed.</li>
|
|
<li>Add test case to make sure functions like <i>remove_all</i> don't loop.</li>
|
|
<li>Is a policy ctor needed for directory_iterator to deal with links?</li>
|
|
<li>POSIX: lstat() or stat()?</li>
|
|
</ul>
|
|
</blockquote>
|
|
<ul>
|
|
<li>Add "." current directory to generic path? Add test cases one
|
|
way or the other. Change simple_ls accordingly.<br>
|
|
</li>
|
|
<li>Ask for help porting to other operating systems, such as the Mac, etc.</li>
|
|
</ul>
|
|
<ul>
|
|
<li>Finish the probe program, and ask Boost people to run it on various O/S's.<br>
|
|
</li>
|
|
<li>Finish portability guide and checking functions. Get opinions on default, Boost, and other error checks. POSIX?
|
|
Windows? Mac? ISO 6990? Document the checking functions.<br>
|
|
</li>
|
|
<li>Operations_test line 171 - why only check iterator tag? Why not
|
|
Assignable, etc?<br>
|
|
</li>
|
|
<li>The wrapped fstream functions which return the type of the stream (*this)
|
|
would have to be overridden to get the wrapped type (boost::filesystem::ifstream
|
|
rather than std::ifstream, for example). But does it matter? Does anyone care?
|
|
Will any programs fail?<br>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<p>© Copyright Beman Dawes, 2002</p>
|
|
<p>Revised
|
|
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->13 December, 2002<!--webbot bot="Timestamp" endspan i-checksum="38509" --></p> |