Ronald Oussoren added the comment:
The patch is not correct.
You're probably building with a new enough version of OSX as the deployment
target. _scproxy.c should recognise this and should only perform the != NULL
test when the variable address might be NULL.
#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_4
if (if (&kSCPropNetProxiesExcludeSimpleHostnames != NULL) {
#end
....
#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_4
} else {
...
}
#endif
And as the variable is available on OSX 10.4 we could just drop the test and
assume it is available.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24380>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com