We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53efbf3 commit 4274609Copy full SHA for 4274609
Programs/_testembed.c
@@ -132,7 +132,8 @@ static int test_forced_io_encoding(void)
132
133
static int test_pre_initialization_api(void)
134
{
135
- wchar_t *program = Py_DecodeLocale("spam", NULL);
+ /* Leading "./" ensures getpath.c can still find the standard library */
136
+ wchar_t *program = Py_DecodeLocale("./spam", NULL);
137
if (program == NULL) {
138
fprintf(stderr, "Fatal error: cannot decode program name\n");
139
return 1;
0 commit comments