strcpy/strcat fix, backported from devbranch.

This commit is contained in:
Ryan C. Gordon 2004-10-30 09:57:56 +00:00
parent c5bf5c15d7
commit 4b036dc0a2
3 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,7 @@
-- stuff in the stable-1.0 branch, backported from 2.0.0 dev branch, etc ---
10302004 - Fixed a strcpy that should have been a strcat. (thanks, Tolga!)
09212003 - Happy September. Fixes to bootstrap on MacOS X. Seeking now tries
to respect pre-buffered data.

View File

@ -64,6 +64,9 @@ HOG archiver,
MVL archiver,
Bradley Bell
Bug fixes:
Tolga Dalman
Other stuff:
Your name here! Patches go to icculus@clutteredmind.org ...

View File

@ -1224,7 +1224,7 @@ char * __PHYSFS_convertToDependent(const char *prepend,
if (append)
{
strcat(str, dirsep);
strcpy(str, append);
strcat(str, append);
} /* if */
return(str);