The bb_ prefixes were removed from xasprintf() and xopen() a month ago (in
svn 15767).
This commit is contained in:
parent
797b4d210d
commit
02496aa69e
@ -1571,8 +1571,8 @@ static void unpack_package(deb_file_t *deb_file)
|
|||||||
unpack_ar_archive(archive_handle);
|
unpack_ar_archive(archive_handle);
|
||||||
|
|
||||||
/* Create the list file */
|
/* Create the list file */
|
||||||
list_filename = bb_xasprintf("/var/lib/dpkg/info/%s.list", package_name);
|
list_filename = xasprintf("/var/lib/dpkg/info/%s.list", package_name);
|
||||||
out_stream = bb_xfopen(list_filename, "w");
|
out_stream = xfopen(list_filename, "w");
|
||||||
while (archive_handle->sub_archive->passed) {
|
while (archive_handle->sub_archive->passed) {
|
||||||
/* the leading . has been stripped by data_extract_all_prefix already */
|
/* the leading . has been stripped by data_extract_all_prefix already */
|
||||||
fputs(archive_handle->sub_archive->passed->data, out_stream);
|
fputs(archive_handle->sub_archive->passed->data, out_stream);
|
||||||
|
Loading…
Reference in New Issue
Block a user