diff options
author | Francois Pons <fpons@mandriva.com> | 2003-06-03 10:14:53 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-06-03 10:14:53 +0000 |
commit | 8e24ba44f8ea9c2813cfc396b227a6e0fdd2d3f0 (patch) | |
tree | df9a878a08b45bd97e34fcfcc344597cdbc2df72 /URPM.xs | |
parent | d3ca123d6a9dafdb76e961ee975db38f015d1371 (diff) | |
download | perl-URPM-8e24ba44f8ea9c2813cfc396b227a6e0fdd2d3f0.tar perl-URPM-8e24ba44f8ea9c2813cfc396b227a6e0fdd2d3f0.tar.gz perl-URPM-8e24ba44f8ea9c2813cfc396b227a6e0fdd2d3f0.tar.bz2 perl-URPM-8e24ba44f8ea9c2813cfc396b227a6e0fdd2d3f0.tar.xz perl-URPM-8e24ba44f8ea9c2813cfc396b227a6e0fdd2d3f0.zip |
fixed sutpid typo (strange compiler didn't notice anything)
Diffstat (limited to 'URPM.xs')
-rw-r--r-- | URPM.xs | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -2953,7 +2953,7 @@ Urpm_parse_rpm(urpm, filename, ...) pkg.flag = 1 + av_len(depslist); sv_pkg = sv_setref_pv(newSVpv("", 0), "URPM::Package", _pkg = memcpy(malloc(sizeof(struct s_Package)), &pkg, sizeof(struct s_Package))); - if (update_header(filename, &_pkg, keep_all_tags)) { + if (update_header(filename, _pkg, keep_all_tags)) { if (call_package_callback(urpm, sv_pkg, callback)) { if (provides) { update_provides(_pkg, provides); @@ -2962,8 +2962,6 @@ Urpm_parse_rpm(urpm, filename, ...) if (packing) pack_header(_pkg); av_push(depslist, sv_pkg); } - av_push(depslist, sv_setref_pv(newSVpv("", 0), "URPM::Package", - memcpy(malloc(sizeof(struct s_Package)), &pkg, sizeof(struct s_Package)))); /* only one element read */ XPUSHs(sv_2mortal(newSViv(av_len(depslist)))); |