Skip to content

Commit

Permalink
strcpy/strcat fix, backported from devbranch.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Oct 30, 2004
1 parent c5bf5c1 commit 4b036dc
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 @@ -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.

Expand Down
3 changes: 3 additions & 0 deletions CREDITS
Expand Up @@ -64,6 +64,9 @@ HOG archiver,
MVL archiver,
Bradley Bell

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 @@ -1224,7 +1224,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 4b036dc

Please sign in to comment.