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

Bug#207199: locales: locale-gen should complain about malformed /etc/locale.gen files



Petter, thanks for your patch.

At Sun, 18 Apr 2004 00:24:49 +0200,
Petter Reinholdtsen wrote:
> Here is a patch to fix this problem.  It teaches the script to ignore
> empty lines, and to write an error if the line don't have at least two
> words.
> 
> This is the output when I tested it
> 
>   Generating locales...
>   error: Bad entry 'en_US.ISO-8859-1 '
>   error: Bad entry 'en_US.UTF-8 '
>   Generation complete.

Looks reasonable, I've put it in.

Regards,
-- gotom



Reply to: