xbps_entry_install_conf_file: use archive_entry_copy to set new entry pathname.
This commit is contained in:
parent
a29211ae39
commit
f20694a5bf
@ -224,7 +224,7 @@ xbps_entry_install_conf_file(struct xbps_handle *xhp,
|
||||
0, pkgver,
|
||||
"Installing new configuration file to "
|
||||
"`%s.new-%s'.", cffile, version);
|
||||
archive_entry_set_pathname(entry, buf);
|
||||
archive_entry_copy_pathname(entry, buf);
|
||||
free(buf);
|
||||
rv = 1;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user