General

Profile

alex (Alex Epifanov)

  • Login: alex
  • Registered on: 05/06/2017
  • Last sign in: 05/06/2017

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

05/12/2017

12:36 AM Ruby Bug #13546: std steams are closed in Windows app.
nobu (Nobuyoshi Nakada) wrote:
> Do you call `ruby_sysinit`?
Our initialization code looks like this:
~~~ c
RUBY_INIT_STACK;
ruby_init();
#if defined(WIN32)
rb_w32_sysinit(NULL,NULL);
#endif
~~~
alex (Alex Epifanov)

05/06/2017

10:48 PM Ruby Bug #13546 (Rejected): std steams are closed in Windows app.
We are embedding Ruby VM into a windows app ( msvc2015 CRT ). VM fails to initialize in `Init_IO` with 'closed stream', when initing stdin, stdout and stderr. Debugging shows that `fileno()` call for stdin and stderr returns -2 value and... alex (Alex Epifanov)

Also available in: Atom