* environ.cc (set_file_api_mode): New function. Move setting

of file APIs mode (OEM/ANSI) here.
(codepage_init): From here.
* winsup.h (set_file_api_mode): Declare it.
* fork.cc (fork_child): Set file APIs mode in forkee.
This commit is contained in:
Egor Duda
2001-06-12 11:31:05 +00:00
parent 25842b68c7
commit 4c15b7aba0
4 changed files with 29 additions and 4 deletions

View File

@@ -162,6 +162,8 @@ extern HANDLE netapi32_handle;
extern "C" void error_start_init (const char*);
extern "C" int try_to_debug (bool waitloop = 1);
void set_file_api_mode (codepage_type);
extern int cygwin_finished_initializing;
/**************************** Miscellaneous ******************************/