File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1297,15 +1297,15 @@ calculate_zip_path(PyCalculatePath *calculate)
12971297 PyStatus res ;
12981298
12991299 /* Path: <PLATLIBDIR> / "python00.zip" */
1300- wchar_t * path = joinpath2 (calculate -> platlibdir_macro , L"python00 .zip" );
1300+ wchar_t * path = joinpath2 (calculate -> platlibdir_macro , L"python000 .zip" );
13011301 if (path == NULL ) {
13021302 return _PyStatus_NO_MEMORY ();
13031303 }
13041304
13051305 if (calculate -> prefix_found > 0 ) {
13061306 /* Use the reduced prefix returned by Py_GetPrefix()
13071307
1308- Path: <basename(basename(prefix))> / <PLATLIBDIR> / "python00 .zip" */
1308+ Path: <basename(basename(prefix))> / <PLATLIBDIR> / "python000 .zip" */
13091309 wchar_t * parent = _PyMem_RawWcsdup (calculate -> prefix );
13101310 if (parent == NULL ) {
13111311 res = _PyStatus_NO_MEMORY ();
@@ -1325,10 +1325,11 @@ calculate_zip_path(PyCalculatePath *calculate)
13251325 goto done ;
13261326 }
13271327
1328- /* Replace "00 " with version */
1328+ /* Replace "000 " with the version */
13291329 size_t len = wcslen (calculate -> zip_path );
1330- calculate -> zip_path [len - 6 ] = VERSION [0 ];
1331- calculate -> zip_path [len - 5 ] = VERSION [2 ];
1330+ calculate -> zip_path [len - 7 ] = VERSION [0 ];
1331+ calculate -> zip_path [len - 6 ] = VERSION [2 ];
1332+ calculate -> zip_path [len - 5 ] = VERSION [3 ];
13321333
13331334 res = _PyStatus_OK ();
13341335
You can’t perform that action at this time.
0 commit comments