A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-January/059423.html below:

[Python-Dev] buildbot

[Python-Dev] buildbotskip at pobox.com skip at pobox.com
Thu Jan 5 04:23:07 CET 2006
    Ronald> This should do it, although I haven't tested this on OSX 10.3:

Not quite.  On my 10.3 system MAC_OS_X_VERSION_10_<N> for <N> in 0, 1, 2, 3,
4 is defined.  However, MAC_OS_X_VERSION_MAX_ALLOWED is defined to be
MAC_OS_X_VERSION_10_3.

This works for me (compiles with no warnings, passes all tests).

Skip

% svn diff Modules/getpath.c
Index: Modules/getpath.c
===================================================================
--- Modules/getpath.c   (revision 41914)
+++ Modules/getpath.c   (working copy)
@@ -381,8 +381,12 @@
     NSModule pythonModule;
 #endif
 #ifdef __APPLE__
+#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_4
     uint32_t nsexeclength = MAXPATHLEN;
+#else
+    unsigned long nsexeclength = MAXPATHLEN;
 #endif
+#endif
 
        /* If there is no slash in the argv0 path, then we have to
         * assume python is on the user's $PATH, since there's no
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4