This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brotherbeer
Recipients brotherbeer
Date 2021-06-11.08:43:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623401022.53.0.60129097271.issue44390@roundup.psfhosted.org>
In-reply-to
Content
cpython-3.10.0b2/PC/frozen_dllmain.c, line 66

 63 void PyWinFreeze_ExeInit(void)
 64 {
 65     char **modName;
 66     for (modName = possibleModules;*modName;*modName++) {
 67 /*              printf("Initialising '%s'\n", *modName); */
 68         CallModuleDllMain(*modName, DLL_PROCESS_ATTACH);
 69     }
 70 }

'*' in '*modName++' is redundant? Line 82 has the same problem

 76 void PyWinFreeze_ExeTerm(void)
 77 {
 78     // Must go backwards
 79     char **modName;
 80     for (modName = possibleModules+Py_ARRAY_LENGTH(possibleModules)-2;
 81          modName >= possibleModules;
 82          *modName--) {
 83 /*              printf("Terminating '%s'\n", *modName);*/
 84         CallModuleDllMain(*modName, DLL_PROCESS_DETACH);
 85     }
 86 }
History
Date User Action Args
2021-06-11 08:43:42brotherbeersetrecipients: + brotherbeer
2021-06-11 08:43:42brotherbeersetmessageid: <1623401022.53.0.60129097271.issue44390@roundup.psfhosted.org>
2021-06-11 08:43:42brotherbeerlinkissue44390 messages
2021-06-11 08:43:42brotherbeercreate