ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/map.C
(Generate patch)

Comparing deliantra/server/common/map.C (file contents):
Revision 1.83 by root, Thu Feb 1 19:15:38 2007 UTC vs.
Revision 1.84 by root, Mon Feb 5 01:24:45 2007 UTC

67 char *endbuf; 67 char *endbuf;
68 struct stat statbuf; 68 struct stat statbuf;
69 int mode = 0; 69 int mode = 0;
70 70
71 if (prepend_dir) 71 if (prepend_dir)
72 strcpy (buf, create_pathname (name)); 72 assign (buf, create_pathname (name));
73 else 73 else
74 strcpy (buf, name); 74 assign (buf, name);
75 75
76 /* old method (strchr(buf, '\0')) seemd very odd to me - 76 /* old method (strchr(buf, '\0')) seemd very odd to me -
77 * this method should be equivalant and is clearer. 77 * this method should be equivalant and is clearer.
78 * Can not use strcat because we need to cycle through 78 * Can not use strcat because we need to cycle through
79 * all the names. 79 * all the names.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines