Fixed a strcpy bug.
--- a/CHANGELOG Thu Oct 07 02:10:01 2004 +0000
+++ b/CHANGELOG Sat Oct 30 09:31:54 2004 +0000
@@ -2,6 +2,7 @@
* CHANGELOG.
*/
+10302004 - Fixed a strcpy that should have been a strcat. (thanks, Tolga!)
10062004 - Removed profiling code from physfs.c.
09292004 - Every API that can return a list of strings can now use a
callback mechanism if the application wants to do it's own
--- a/CREDITS Thu Oct 07 02:10:01 2004 +0000
+++ b/CREDITS Sat Oct 30 09:31:54 2004 +0000
@@ -67,6 +67,9 @@
MIX archiver,
Sebastian Steinhauer
+Bug fixes:
+ Tolga Dalman
+
Other stuff:
Your name here! Patches go to icculus@clutteredmind.org ...
--- a/physfs.c Thu Oct 07 02:10:01 2004 +0000
+++ b/physfs.c Sat Oct 30 09:31:54 2004 +0000
@@ -1119,7 +1119,7 @@
if (append)
{
strcat(str, dirsep);
- strcpy(str, append);
+ strcat(str, append);
} /* if */
return(str);