… | |
… | |
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. |