strcpy/strcat fix, backported from devbranch. stable-1.0
authorRyan C. Gordon <icculus@icculus.org>
Sat, 30 Oct 2004 09:57:56 +0000
branchstable-1.0
changeset 664 d7729a9feebd
parent 655 1c64ddf508f1
child 665 a57d48b90d53
strcpy/strcat fix, backported from devbranch.
CHANGELOG
CREDITS
physfs.c
--- 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);