--- deliantra/server/common/porting.C 2007/01/15 21:06:18 1.13 +++ deliantra/server/common/porting.C 2007/02/05 01:24:45 1.14 @@ -182,7 +182,8 @@ if (!filename || !*filename) return; - strcpy (buf, filename); + + assign (buf, filename); while ((cp = strchr (cp + 1, (int) '/'))) {