From 4b036dc0a2930505cec88fdf55f7670bec81568c Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Sat, 30 Oct 2004 09:57:56 +0000 Subject: [PATCH] strcpy/strcat fix, backported from devbranch. --- CHANGELOG | 1 + CREDITS | 3 +++ physfs.c | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index f5a247e0..e5ebd550 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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. diff --git a/CREDITS b/CREDITS index a2a58968..b9679a9a 100644 --- a/CREDITS +++ b/CREDITS @@ -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 ... diff --git a/physfs.c b/physfs.c index 28359edc..2e10104c 100644 --- a/physfs.c +++ b/physfs.c @@ -1224,7 +1224,7 @@ char * __PHYSFS_convertToDependent(const char *prepend, if (append) { strcat(str, dirsep); - strcpy(str, append); + strcat(str, append); } /* if */ return(str);