python3: Update to 3.7.1
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
--- Python-3.2.3/Modules/getpath.c.orig 2012-04-11 02:54:07.000000000 -0400
|
||||
+++ Python-3.2.3/Modules/getpath.c 2012-06-14 13:33:30.179375000 -0400
|
||||
@@ -551,6 +551,28 @@
|
||||
if (isxfile(progpath))
|
||||
break;
|
||||
}
|
||||
|
||||
+#ifdef __CYGWIN__
|
||||
+ /*
|
||||
@@ -18,14 +18,14 @@
|
||||
+ * extension appended.
|
||||
+ */
|
||||
+#define EXE L".exe"
|
||||
+ if (isdir(progpath) && wcslen(progpath) + wcslen(EXE) <= MAXPATHLEN)
|
||||
+ if (isdir(program_full_path) && wcslen(program_full_path) + wcslen(EXE) <= MAXPATHLEN)
|
||||
+ {
|
||||
+ wcscat(progpath, EXE);
|
||||
+ if (isxfile(progpath))
|
||||
+ wcscat(program_full_path, EXE);
|
||||
+ if (isxfile(program_full_path))
|
||||
+ break;
|
||||
+ }
|
||||
+#endif /* __CYGWIN__ */
|
||||
+
|
||||
if (!delim) {
|
||||
progpath[0] = L'\0';
|
||||
program_full_path[0] = L'\0';
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user