[Rpm-maint] [PATCH] fix truncated "file conflict" error message in russian

Panu Matilainen pmatilai at laiskiainen.org
Sat Dec 22 11:59:41 UTC 2007


On Thu, 20 Dec 2007, Pixel wrote:

> fix truncated "file conflict" error message in russian
> (http://qa.mandriva.com/show_bug.cgi?id=31680)
> nb: the utf8 russian string is 124 chars, whereas the i18n'ed should be <100bytes
>
> the patch uses asprintf. I'm not sure what compatibility is needed.

AFAIK Solaris doesn't have asprintf() so that's a bit of a problem.
On the other hand, there are a number of places within rpm that would 
benefit from asprintf().

Using gnulib (instead of what's currently in misc/) would solve this 
issue... Ralf, did you actually look into using gnulib beyond the initial 
idea?

> a simpler patch not using asprintf is to raise the constant 100 to 200
> (or 300, who knows...)

I think for 4.4.2.x, the "minimal impact" approach of just raising the 
constant enough would be more appropriate to avoid bringing in new 
requirements.

 	- Panu -




More information about the Rpm-maint mailing list