aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
...
* Don't go through elaborate shutdown just after connect.Eric S. Raymond2000-02-121-4/+4
* Cosmetic fixes.Eric S. Raymond2000-02-101-3/+10
* BSD portability patch.Eric S. Raymond2000-02-071-0/+3
* *** empty log message ***Eric S. Raymond2000-02-071-1/+1
* Ready to ship.Eric S. Raymond2000-02-073-16/+29
* Version bump.Eric S. Raymond2000-02-071-1/+1
* Version bump.Eric S. Raymond2000-02-052-2/+5
* Mail sysadmin a notification on unreachable server.Eric S. Raymond2000-02-052-13/+18
* LinuxWorld hacks.Eric S. Raymond2000-02-0515-53/+114
* Simplify the error handling.Eric S. Raymond2000-02-011-23/+22
* Debian buglist cleanup.Eric S. Raymond2000-02-013-7/+18
* Graceful socket closing.Eric S. Raymond2000-01-317-15/+51
* Version bump.Eric S. Raymond2000-01-313-41/+55
* Label save closes.Eric S. Raymond2000-01-317-10/+10
* Before trying to clean up closes.Eric S. Raymond2000-01-314-82/+83
* Added M8.Eric S. Raymond2000-01-311-2/+24
* *** empty log message ***Eric S. Raymond2000-01-291-3/+3
* Fix a bug.Eric S. Raymond2000-01-171-1/+0
* Fix a bug.Eric S. Raymond2000-01-171-1/+0
* Version bump.Eric S. Raymond2000-01-172-1/+5
* Explain a feature.Eric S. Raymond2000-01-171-1/+3
* Check for logfile existence.Eric S. Raymond2000-01-171-1/+1
* Enable -L to work in foreground.Eric S. Raymond2000-01-173-1/+11
* drive.c now tracks stage.Eric S. Raymond2000-01-174-37/+18
* Better authentication-failure handling.Eric S. Raymond2000-01-162-5/+30
* Various minor fixes.Eric S. Raymond2000-01-166-38/+39
* Too many reports.Eric S. Raymond2000-01-161-19/+21
* Include the message.Eric S. Raymond2000-01-091-2/+6
* Translation upgrades.Eric S. Raymond2000-01-092-2/+41
* Fixed the syslog problem.Eric S. Raymond2000-01-092-16/+28
* Typo fix.Eric S. Raymond2000-01-081-4/+2
* We can use Jorge Godoy's patch now, if we want to.Eric S. Raymond2000-01-083-13/+19
* Version bump.Eric S. Raymond2000-01-042-1/+4
* Better reporting early on.Eric S. Raymond2000-01-041-35/+46
* Added warning to differs.Eric S. Raymond2000-01-031-0/+1
* Cleanup patches from Gunther Leber.Eric S. Raymond2000-01-034-11/+10
* Typo fixes.Eric S. Raymond2000-01-011-3/+3
* Warn the translators.Eric S. Raymond1999-12-291-0/+2
* Factor out messages.Eric S. Raymond1999-12-291-14/+14
* Better login-error warning.Eric S. Raymond1999-12-291-8/+11
* Translation updates.Eric S. Raymond1999-12-293-1/+8
* Speculative fix.Eric S. Raymond1999-12-291-4/+6
* Jorge Godoy's translation fixes.Eric S. Raymond1999-12-271-2/+9
* Jorge Godoy's translation fixes.Eric S. Raymond1999-12-273-2/+3
* Minor optimizations from Federico.Eric S. Raymond1999-12-272-0/+23
* Minor optimizations from Federico.Eric S. Raymond1999-12-263-8/+9
* Fixes for brown-paper-bag bug.Eric S. Raymond1999-12-263-42/+61
* Drastically simplified UIDL code.Eric S. Raymond1999-12-261-0/+3
* Drastically simplified UIDL code.Eric S. Raymond1999-12-265-37/+15
* Incorporated.Eric S. Raymond1999-12-262-7/+12
>= *p++; return buf; } } if (strstr(l, "KOI8-R")) return "KOI8-R"; if (strstr(l, "KOI8-U")) return "KOI8-U"; if (strstr(l, "620")) return "TIS-620"; if (strstr(l, "2312")) return "GB2312"; if (strstr(l, "HKSCS")) return "Big5HKSCS"; /* no MIME charset */ if (strstr(l, "Big5") || strstr(l, "BIG5")) return "Big5"; if (strstr(l, "GBK")) return "GBK"; /* no MIME charset */ if (strstr(l, "18030")) return "GB18030"; /* no MIME charset */ if (strstr(l, "Shift_JIS") || strstr(l, "SJIS")) return "Shift_JIS"; /* check for conclusive modifier */ if (strstr(l, "euro")) return "ISO-8859-15"; /* check for language (and perhaps country) codes */ if (strstr(l, "zh_TW")) return "Big5"; if (strstr(l, "zh_HK")) return "Big5HKSCS"; /* no MIME charset */ if (strstr(l, "zh")) return "GB2312"; if (strstr(l, "ja")) return "EUC-JP"; if (strstr(l, "ko")) return "EUC-KR"; if (strstr(l, "ru")) return "KOI8-R"; if (strstr(l, "uk")) return "KOI8-U"; if (strstr(l, "pl") || strstr(l, "hr") || strstr(l, "hu") || strstr(l, "cs") || strstr(l, "sk") || strstr(l, "sl")) return "ISO-8859-2"; if (strstr(l, "eo") || strstr(l, "mt")) return "ISO-8859-3"; if (strstr(l, "el")) return "ISO-8859-7"; if (strstr(l, "he")) return "ISO-8859-8"; if (strstr(l, "tr")) return "ISO-8859-9"; if (strstr(l, "th")) return "TIS-620"; /* or ISO-8859-11 */ if (strstr(l, "lt")) return "ISO-8859-13"; if (strstr(l, "cy")) return "ISO-8859-14"; if (strstr(l, "ro")) return "ISO-8859-2"; /* or ISO-8859-16 */ if (strstr(l, "am") || strstr(l, "vi")) return "UTF-8"; /* Send me further rules if you like, but don't forget that we are * *only* interested in locale naming conventions on platforms * that do not already provide an nl_langinfo(CODESET) implementation. */ return "ISO-8859-1"; /* should perhaps be "UTF-8" instead */ } return C_CODESET; } /* For a demo, compile with "gcc -W -Wall -o langinfo -D TEST langinfo.c" */ #ifdef TEST #include <stdio.h> int main() { printf("%s\n", nl_langinfo(CODESET)); return 0; } #endif