diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-05-01 12:22:23 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2014-05-01 12:22:23 +0200 |
commit | e019581d2e5a755f0a5646717d3d9a9eae91c0f6 (patch) | |
tree | 9f98ffffe5b1708902e2245b851e7008781670d2 | |
parent | 654458015ed1f60db273d6258ad770f3bda54ab8 (diff) | |
download | perl-URPM-e019581d2e5a755f0a5646717d3d9a9eae91c0f6.tar perl-URPM-e019581d2e5a755f0a5646717d3d9a9eae91c0f6.tar.gz perl-URPM-e019581d2e5a755f0a5646717d3d9a9eae91c0f6.tar.bz2 perl-URPM-e019581d2e5a755f0a5646717d3d9a9eae91c0f6.tar.xz perl-URPM-e019581d2e5a755f0a5646717d3d9a9eae91c0f6.zip |
fix 64k size limit on provides size
this broke installing 32 bit kernel for drakx-installer-binaries
(spotted by Pascal Terjan)
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | URPM.xs | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -1,3 +1,5 @@ +- fix 64k size limit on provides size that break installing 32 bit kernel for + drakx-installer-binaries - fix a warning in debug mode Version 4.29 - 5 November 2013 @@ -719,7 +719,7 @@ return_problems(rpmps ps, int translate_message, int raw_message) { static char * pack_list(const Header header, rpmTag tag_name, rpmTag tag_flags, rpmTag tag_version) { - char buff[65536]; + char buff[65536*2]; char *p = buff; struct rpmtd_s td; @@ -2071,7 +2071,7 @@ Pkg_build_info(pkg, fileno, provides_files=NULL) char *provides_files CODE: if (pkg->info) { - char buff[65536]; + char buff[65536*2]; size_t size; /* info line should be the last to be written */ @@ -2811,7 +2811,7 @@ Urpm_parse_synthesis__XS(urpm, filename, ...) HV *obsoletes = fobsoletes && SvROK(*fobsoletes) && SvTYPE(SvRV(*fobsoletes)) == SVt_PVHV ? (HV*)SvRV(*fobsoletes) : NULL; if (depslist != NULL) { - char buff[65536]; + char buff[65536*2]; char *p, *eol, *t; int buff_len; struct s_Package pkg; |