2010-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Include last '/' to directory name to create. This will avoid to
	create directory 'C:' in Windows.
	* src/File.cc
pull/1/head
Tatsuhiro Tsujikawa 2010-11-26 12:34:02 +00:00
parent 0455cde2a8
commit 721f53ea97
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2010-11-26 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Include last '/' to directory name to create. This will avoid to
create directory 'C:' in Windows.
* src/File.cc
2010-11-25 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed unused FileEntry::setupDir()

View File

@ -122,10 +122,10 @@ bool File::mkdirs() {
++i;
continue;
}
i = j;
if(j != eoi) {
++i;
++j;
}
i = j;
std::string dir = std::string(name_.begin(), j);
if(File(dir).isDir()) {
continue;