strcpy/strcat fix, backported from devbranch.
--- a/CHANGELOG Sun Sep 26 13:37:42 2004 +0000
+++ b/CHANGELOG Sat Oct 30 09:57:56 2004 +0000
@@ -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.
--- a/CREDITS Sun Sep 26 13:37:42 2004 +0000
+++ b/CREDITS Sat Oct 30 09:57:56 2004 +0000
@@ -64,6 +64,9 @@
MVL archiver,
Bradley Bell
+Bug fixes:
+ Tolga Dalman
+
Other stuff:
Your name here! Patches go to icculus@clutteredmind.org ...
--- a/physfs.c Sun Sep 26 13:37:42 2004 +0000
+++ b/physfs.c Sat Oct 30 09:57:56 2004 +0000
@@ -1224,7 +1224,7 @@
if (append)
{
strcat(str, dirsep);
- strcpy(str, append);
+ strcat(str, append);
} /* if */
return(str);