Skip to content

Commit

Permalink
Fixed a strcpy bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 30, 2004
1 parent 3e06b38 commit bdd4ca0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions CREDITS
Expand Up @@ -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 ...

Expand Down
2 changes: 1 addition & 1 deletion physfs.c
Expand Up @@ -1119,7 +1119,7 @@ char * __PHYSFS_convertToDependent(const char *prepend,
if (append)
{
strcat(str, dirsep);
strcpy(str, append);
strcat(str, append);
} /* if */

return(str);
Expand Down

0 comments on commit bdd4ca0

Please sign in to comment.