Searched refs:progpath2 (Results 1 – 1 of 1) sorted by relevance
426 wchar_t *progpath2 = PyMem_RawMalloc((n + s + 1) * sizeof(wchar_t)); in add_exe_suffix() local427 if (progpath2 == NULL) { in add_exe_suffix()431 memcpy(progpath2, progpath, n * sizeof(wchar_t)); in add_exe_suffix()432 memcpy(progpath2 + n, EXE_SUFFIX, s * sizeof(wchar_t)); in add_exe_suffix()433 progpath2[n+s] = L'\0'; in add_exe_suffix()435 if (isxfile(progpath2)) { in add_exe_suffix()437 *progpath_p = progpath2; in add_exe_suffix()440 PyMem_RawFree(progpath2); in add_exe_suffix()