| 399 (tblk)->prefix, (tblk)->filename); |
399 (tblk)->prefix, (tblk)->filename); |
| 400 } |
400 } |
| 401 else |
401 else |
| 402 { |
402 { |
| 403 g_strlcpy(name, (tblk)->filename, |
403 g_strlcpy(name, (tblk)->filename, |
| 404 sizeof (tblk)->filename); |
404 sizeof (name)); |
| 405 } |
405 } |
| 406 |
406 |
| 407 /* Convert any backslashes to forward slashes, and guard |
407 /* Convert any backslashes to forward slashes, and guard |
| 408 * against doubled-up slashes. (Some DOS versions of "tar" |
408 * against doubled-up slashes. (Some DOS versions of "tar" |
| 409 * get this wrong.) Also strip off leading slashes. |
409 * get this wrong.) Also strip off leading slashes. |