Project

General

Profile

Bug #5240 » rb-main.diff

View differences:

ruby1.9.1-1.9.3~preview1+svn33077/main.c
RUBY_GLOBAL_SETUP
extern void timer_thread_child_at_fork();
int
main(int argc, char **argv)
{
......
setlocale(LC_CTYPE, "");
#endif
pthread_atfork(NULL, NULL, timer_thread_child_at_fork);
ruby_sysinit(&argc, &argv);
{
RUBY_INIT_STACK;
(2-2/2)