commit the EBCDIC run-time table conversion code, so it can be reviewed
XXX there’s still the issue of compile-time character conversion, and XXX that runtime m̲u̲s̲t̲ use a compatible codepage, which we cannot check, XXX and that we need the POSIX portable character set mapped, which we XXX decide to not check (due to the above, mostly)
This commit is contained in:
5
main.c
5
main.c
@@ -34,7 +34,7 @@
|
||||
#include <locale.h>
|
||||
#endif
|
||||
|
||||
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.340 2017/04/27 23:35:09 tg Exp $");
|
||||
__RCSID("$MirOS: src/bin/mksh/main.c,v 1.341 2017/04/28 01:15:50 tg Exp $");
|
||||
|
||||
extern char **environ;
|
||||
|
||||
@@ -236,6 +236,9 @@ main_init(int argc, const char *argv[], Source **sp, struct block **lp)
|
||||
ssize_t k;
|
||||
#endif
|
||||
|
||||
#ifdef MKSH_EBCDIC
|
||||
ebcdic_init();
|
||||
#endif
|
||||
set_ifs(TC_IFSWS);
|
||||
|
||||
#ifdef __OS2__
|
||||
|
||||
Reference in New Issue
Block a user