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-16 07:24:45 +0200 |
commit | 178885786ad6b295ac3892b551311f790a83ed0f (patch) | |
tree | b7d03e21a4a1e0bc56ebac76271425c43a952820 | |
parent | 27b8766a0e5527aeb3c2d153ceaa77c148185e76 (diff) | |
download | perl-URPM-178885786ad6b295ac3892b551311f790a83ed0f.tar perl-URPM-178885786ad6b295ac3892b551311f790a83ed0f.tar.gz perl-URPM-178885786ad6b295ac3892b551311f790a83ed0f.tar.bz2 perl-URPM-178885786ad6b295ac3892b551311f790a83ed0f.tar.xz perl-URPM-178885786ad6b295ac3892b551311f790a83ed0f.zip |
fix 64k size limit on provides size
this broke installing 32 bit kernel for drakx-installer-binaries
(spotted by Pascal Terjan)
Conflicts:
NEWS
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | URPM.xs | 6 |
2 files changed, 6 insertions, 3 deletions
@@ -1,3 +1,6 @@ +- fix 64k size limit on provides size that break installing 32 bit kernel for + drakx-installer-binaries + Version 4.27 - 22 March 2013 - fix selecting right DKMS flavor (mga#9172) @@ -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; @@ -2103,7 +2103,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 */ @@ -2831,7 +2831,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; |