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 chrullrich
Recipients chrullrich, paul.moore, steve.dower, tim.golden, zach.ware
Date 2017-09-05.12:54:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504616048.52.0.713967804151.issue31349@psf.upfronthosting.co.za>
In-reply-to
Content
That should have been 

diff --git a/PC/getpathp.c b/PC/getpathp.c
index e7be704a9a..abb5e54c9f 100644
--- a/PC/getpathp.c
+++ b/PC/getpathp.c
@@ -443,8 +443,7 @@ get_progpath(void)
 #else
     dllpath[0] = 0;
 #endif
-    if (GetModuleFileNameW(NULL, progpath, MAXPATHLEN))
-        return;
+    GetModuleFileNameW(NULL, progpath, MAXPATHLEN);
     if (prog == NULL || *prog == '\0')
         prog = L"python";

instead, of course, without the negation.
History
Date User Action Args
2017-09-05 12:54:08chrullrichsetrecipients: + chrullrich, paul.moore, tim.golden, zach.ware, steve.dower
2017-09-05 12:54:08chrullrichsetmessageid: <1504616048.52.0.713967804151.issue31349@psf.upfronthosting.co.za>
2017-09-05 12:54:08chrullrichlinkissue31349 messages
2017-09-05 12:54:08chrullrichcreate