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

Bug#187630: libc6: localedef uses . in its input path



Package: libc6
Version: 2.3.2-1
Severity: minor

Hi,

I encountered a strange error when generating locales:
   i18n:1: syntax error: not inside a locale definition section
   i18n:3: syntax error: not inside a locale definition section

The reason was that a file called i18n was present in current working
directory, and was used by localedef.  AFAICT this is not mentioned
in libc6 documentation.  IMO there is no reason to search for input
files in '.', '-i .' can be used if needed.
Another option would be to display the full path
   ./i18n:1: syntax error: not inside a locale definition section
   ./i18n:3: syntax error: not inside a locale definition section
in order to make this error message more explanatory.

Denis



Reply to: