[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#282582: Some functions in cdebconf improperly handle escaped commas

reassign 282582 console-data
retitle 282582 Error is sort function in buildscripts

On Tuesday 23 November 2004 21:43, Denis Barbier wrote:
> On Tue, Nov 23, 2004 at 07:06:34AM +0100, Christian Perrier wrote:
> > Frans Pop suggested in #debian-boot
> > 
> > [20:30:49] <fjp> bubulle: I think the program that causes the problems 
> > with comma's is cdebconf's "strutl.c". The functions strgetargc and 
> > strchoicesplit (and maybe str(un)escape) don't know about escaped commas.
> It may be buggy, but there is definitely code to deal with escaped
> commas in these functions.

Ah, yes. (/me learns to read C a little better again)
Sorry bout that. Analysis was a little to quick...

Looking at this again I got a little brainstorm and I think _this_ should be
the real cause of the problem :-)

Looking at the template, I noticed there are only 43 Choices-nl, but the
Indices-nl runs from 1 to 46!
Which probably means there is an easy to fix little error in the sorting script
that also adds an entry in Indices-nl for escaped comma's.

Which also means the translations for nl and no probably don't need to be
changed at all...

Reply to: