codepage:oem doesn't affect forkee
egor duda
deo@logos-m.ru
Mon Jun 11 13:17:00 GMT 2001
Hi!
File APIs mode is currently set during environment parsing. when
process is fork child, current_codepage is taken from parent, but
actual OS File APIs mode is set by default. this patch fixes this.
egor. mailto:deo@logos-m.ru icq 5165414 fidonet 2:5020/496.19
forkee-codepage-init.diff
forkee-codepage-init.ChangeLog
-------------- next part --------------
2001-06-12 Egor Duda <deo@logos-m.ru>
* 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: forkee-codepage-init.diff
Type: text/x-diff
Size: 1932 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20010611/1afd4f19/attachment.bin>
More information about the Cygwin-patches
mailing list