Instead of using the functions from <cstdio>, you should use the File class already in DC++ (which strangely doesn't seem to have a static exists() function... adding that might be a good precursor patch to this one). Additionally, it's a good idea to generate the patch from within bzr instead of using diff manually.
Instead of using the functions from <cstdio>, you should use the File class already in DC++ (which strangely doesn't seem to have a static exists() function... adding that might be a good precursor patch to this one). Additionally, it's a good idea to generate the patch from within bzr instead of using diff manually.