pidgin/win32/untar.c

branch
release-2.x.y
changeset 36173
f0861dc04cf3
parent 36172
8f870b9011c9
child 36174
38653c63a0d2
equal deleted inserted replaced
36172:8f870b9011c9 36173:f0861dc04cf3
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.

mercurial