mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 22:17:38 +03:00
2009-10-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Moved static functions in Util class to namespace util. * src * test
This commit is contained in:
parent
3349fe0811
commit
c6035b2e24
129 changed files with 893 additions and 882 deletions
|
@ -108,7 +108,7 @@ void AbstractDiskWriter::openExistingFile(uint64_t totalLength)
|
|||
void AbstractDiskWriter::createFile(int addFlags)
|
||||
{
|
||||
assert(!_filename.empty());
|
||||
Util::mkdirs(File(_filename).getDirname());
|
||||
util::mkdirs(File(_filename).getDirname());
|
||||
if((fd = open(_filename.c_str(), O_CREAT|O_RDWR|O_TRUNC|O_BINARY|addFlags,
|
||||
OPEN_MODE)) < 0) {
|
||||
throw DL_ABORT_EX(StringFormat(EX_FILE_OPEN,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue