Staging
v0.8.1
v0.8.1
Revision a70286b71d6b98c14275c26f6ca1f0507c1bc56b authored by Ronald Oussoren on 15 May 2011, 14:44:27 UTC, committed by Ronald Oussoren on 15 May 2011, 14:44:27 UTC
Without this patch python will fail to start properly when the environment variable MACOSX_DEPLOYMENT_TARGET is set on MacOSX and has a value that is not compatible with the value during Python's build. This is caused by code in sysconfig that was only meant to be used in disutils.
1 parent 11041f0
strdup.c
/* strdup() replacement (from stdwin, if you must know) */
#include "pgenheaders.h"
char *
strdup(const char *str)
{
if (str != NULL) {
register char *copy = malloc(strlen(str) + 1);
if (copy != NULL)
return strcpy(copy, str);
}
return NULL;
}
Computing file changes ...