diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2008-01-25 12:14:23 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2008-01-25 12:14:23 +0200 |
commit | 0d7bf59ad10cffb3d99fb309fd23083721ade106 (patch) | |
tree | cb344bd876d9c7970ea7eca7ed9fd39887d9f814 /lib | |
parent | ee655d91a2dfd5e8863dca582077d1bd65cb240b (diff) | |
download | rpm-0d7bf59ad10cffb3d99fb309fd23083721ade106.tar.gz rpm-0d7bf59ad10cffb3d99fb309fd23083721ade106.tar.bz2 rpm-0d7bf59ad10cffb3d99fb309fd23083721ade106.zip |
Bandaid patch for truncated error message in russian (mdvbz#31680)
Just up the stupid static reservation "high enuff" for now.
asprintf() would be nice here but it's not at all portable, revisit later.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rpmps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmps.c b/lib/rpmps.c index 68f740542..9390afa99 100644 --- a/lib/rpmps.c +++ b/lib/rpmps.c @@ -301,7 +301,7 @@ char * rpmProblemString(const rpmProblem prob) const char * pkgNEVR = (prob->pkgNEVR ? prob->pkgNEVR : "?pkgNEVR?"); const char * altNEVR = (prob->altNEVR ? prob->altNEVR : "? ?altNEVR?"); const char * str1 = (prob->str1 ? prob->str1 : N_("different")); - size_t nb = strlen(pkgNEVR) + strlen(str1) + strlen(altNEVR) + 100; + size_t nb = strlen(pkgNEVR) + strlen(str1) + strlen(altNEVR) + 256; char * buf = xmalloc(nb+1); int rc; |