[Rpm-maint] [PATCH] fix truncated "file conflict" error message in russian
Ralf Corsepius
rc040203 at freenet.de
Sun Dec 23 03:07:00 UTC 2007
On Sat, 2007-12-22 at 13:59 +0200, Panu Matilainen wrote:
> 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.
asprintf is a non-standardized, non-POSIX function.
Generally speaking, I am opposed to rely anything outside of POSIX. It
will hit back somewhere sometime in longer terms.
> 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?
Sorry, no. I haven't had any time left for rpm in recent weeks
Ralf
More information about the Rpm-maint
mailing list