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

Bug#69045: tzconfig doesn't allow choices that are substrings of other choices.



Package: libc6
Version: 2.1.3-10
Severity: normal

tzconfig doesn't allow choices that are substrings of other valid choices
that are in the same category. i was told that this was fixed by removing an
ambiguity between Pacific and Pacific-new, but there's still problems in the
Posix and SystemV ones, which i assume can't be modified in themselves due to
standards or historical reasons. The problems i ran into were that posix/EST
and SystemV/EST5 weren't being set because of an ambiguity with EST5EDT in
the same respective category. this should be easy to fix by adding a check to
see if the typed string is a full valid choice BEFORE checking for ambiguity.

Example --------

Number: 11   # as in choice 11 from the menu, SystemV style time zones

AST4 AST4ADT CST6 CST6CDT EST5 EST5EDT HST10 MST7 MST7MDT PST8 PST8PDT
YST9 YST9YDT

Please enter the name of one of these cities or zones
You just need to type enough letters to resolve ambiguities
Press Enter to view all of them again
Name: [] EST5

EST5 EST5EDT

Please enter the name of one of these cities or zones
You just need to type enough letters to resolve ambiguities
Press Enter to view all of them again
Name: [EST5] EST5

(pressing EST5 several times resulted in the same message)

Name: [EST5] argh!^C

------ end of example

My solution was to manually relink /etc/localtime and re-edit /etc/timezone
but this should still be fixed.

__________________________________________________
Do You Yahoo!?
Yahoo! Mail ? Free email you can access from anywhere!
http://mail.yahoo.com/



Reply to: