Re: [PATCH] Check if argv[0] is NULL in scm_boot_guile to avoid segfault

2014-10-11 Thread Mark H Weaver
Nala Ginrut writes: > This patch is for master branch, but the bug also appears in the > current stable-2.0 I think. > > With the recent patch from Eli Zaretskii, there'd be one more step for > argv[0]: > scm_i_mirror_backslashes (argv[0]); > > But this cause my program segfault, since I have su

[PATCH] Check if argv[0] is NULL in scm_boot_guile to avoid segfault

2014-10-10 Thread Nala Ginrut
This patch is for master branch, but the bug also appears in the current stable-2.0 I think. With the recent patch from Eli Zaretskii, there'd be one more step for argv[0]: scm_i_mirror_backslashes (argv[0]); But this cause my program segfault, since I have such line: scm_boot_guile(0, {NULL}, &g