projects
/
openitg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be3c14e
)
Fix busted FileCopy()
author
infamouspat
<itgpmc@gmail.com>
Tue, 3 Apr 2012 07:22:01 +0000
(
00:22
-0700)
committer
infamouspat
<itgpmc@gmail.com>
Tue, 3 Apr 2012 07:22:01 +0000
(
00:22
-0700)
src/RageUtil.cpp
patch
|
blob
|
history
diff --git
a/src/RageUtil.cpp
b/src/RageUtil.cpp
index
b6a963d
..
164f84e
100755
(executable)
--- a/
src/RageUtil.cpp
+++ b/
src/RageUtil.cpp
@@
-1846,6
+1846,7
@@
bool FileCopy( RageFileBasic &in, RageFileBasic &out, CString &sError, bool *bRe
while( bContinue )
{
+ data.clear();
if( in.Read(data, 1024*32) == -1 )
{
sError = ssprintf( "read error: %s", in.GetError().c_str() );