Lines 169-174
Link Here
|
169 |
"cp", 0, 0, 0, |
169 |
"cp", 0, 0, 0, |
170 |
}; |
170 |
}; |
171 |
|
171 |
|
|
|
172 |
|
173 |
char buffer[1000]; |
174 |
sprintf(buffer, "cp '%s' '%s'", iname, oname); |
175 |
printf("quickStrip: %s\n%s\n", oname, buffer); |
176 |
system(buffer); |
177 |
|
178 |
#if 0 |
172 |
/* |
179 |
/* |
173 |
* first, copy the `iname' to the `oname' |
180 |
* first, copy the `iname' to the `oname' |
174 |
*/ |
181 |
*/ |
Lines 195-201
Link Here
|
195 |
fprintf(stderr, "Bad exit code from /bin/cp: %d\n", status); |
201 |
fprintf(stderr, "Bad exit code from /bin/cp: %d\n", status); |
196 |
return -1; |
202 |
return -1; |
197 |
} |
203 |
} |
198 |
|
204 |
#endif |
199 |
/* |
205 |
/* |
200 |
* need to do a chmod to guarantee that the perms will permit |
206 |
* need to do a chmod to guarantee that the perms will permit |
201 |
* the strip. Perms are fixed up later. |
207 |
* the strip. Perms are fixed up later. |