1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-28 08:02:54 +00:00

Handle ASCII and US-ASCII aliases

This commit is contained in:
Andrey A. Chernov 2001-06-10 23:26:47 +00:00
parent 320414ec14
commit 1c593a0d69
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=78027

View File

@ -205,7 +205,9 @@ main(int argc, char *argv[])
locale = setlocale(LC_TIME, NULL);
if (locale == NULL ||
strcmp(locale, "C") == 0 ||
strcmp(locale, "POSIX") == 0)
strcmp(locale, "POSIX") == 0 ||
strcmp(locale, "ASCII") == 0 ||
strcmp(locale, "US-ASCII") == 0)
locale = "_US";
q = switches + sizeof(switches) / sizeof(struct djswitch);
for (p = switches; p != q; p++)