mirror of https://github.com/aria2/aria2
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.ccpull/1/head
parent
0455cde2a8
commit
721f53ea97
|
@ -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()
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue