openframeworks/openFrameworks — Issue #885: bug in ofFile::copyFromTo ( prob ofDirectory::copyFromTo also )
Author: ofTheo
Created: 2012-01-31 01:36:56+00:00
State: open

if( !ofFile::doesFileExist(pathSrc) ){

needs to pass through if the path is absolute or not - note this introduces a second bug which is that we can't mix absolute path and relative paths.

the smarter fix is to have doesFileExist check if the file starts with a "/" and if so understand it is absolute.