Revision 856fcf9a
Added by David Sorber over 2 years ago
| src/CopyManager.cc | ||
|---|---|---|
|
#include <sys/stat.h>
|
||
|
#include <fcntl.h>
|
||
|
#include <sys/sendfile.h>
|
||
|
#include <unistd.h>
|
||
|
|
||
|
#include "CopyManager.h"
|
||
|
#include "Logger.h"
|
||
| ... | ... | |
|
continue;
|
||
|
}
|
||
|
|
||
|
close(fromFd);
|
||
|
close(toFd);
|
||
|
LOG(debug) << "Copy: " << entry.path().string()
|
||
|
<< " to: " << destFilePath.string();
|
||
|
}
|
||
| ... | ... | |
|
}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|
||
Fix bug where files were not being closed; v0.1.1.