From 7a1e43792ed540883796e8b8e07c400ce0d211fc Mon Sep 17 00:00:00 2001 From: pouillot Date: Thu, 14 Oct 2010 20:53:33 +0000 Subject: [PATCH] Fixed GfFileCopy always returning false git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2893 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 1d504edab0913e06081d3a28bd945d43aa0b1c8a Former-commit-id: 9ac334c1dd302cb53ebab7c50b051128b14b0cba --- src/libs/tgf/file.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/tgf/file.cpp b/src/libs/tgf/file.cpp index 55283556..d53a1789 100755 --- a/src/libs/tgf/file.cpp +++ b/src/libs/tgf/file.cpp @@ -77,7 +77,7 @@ bool GfFileCopy(const char* pszSrcName, const char* pszTgtName) return false; } - GfLogDebug("Updating %s\n", pszTgtName); + GfLogDebug("Copying %s to %s\n", pszSrcName, pszTgtName); while( !feof( in ) ) { @@ -111,6 +111,6 @@ bool GfFileCopy(const char* pszSrcName, const char* pszTgtName) chmod( pszTgtName, 0640 ); #endif //!WIN32 - return false; + return true; }