Skip to content
Permalink
Browse files
Fixed a strcpy bug.
  • Loading branch information
icculus committed Oct 30, 2004
1 parent 3e06b38 commit bdd4ca0d93e0d1cc659236b1c29647dd85edc0bc
Showing with 5 additions and 1 deletion.
  1. +1 −0 CHANGELOG
  2. +3 −0 CREDITS
  3. +1 −1 physfs.c
@@ -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
@@ -67,6 +67,9 @@ MVL archiver,
MIX archiver,
Sebastian Steinhauer

Bug fixes:
Tolga Dalman

Other stuff:
Your name here! Patches go to icculus@clutteredmind.org ...

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

return(str);

0 comments on commit bdd4ca0

Please sign in to comment.