Staging
v0.8.1
v0.8.1
Revision da746d7a0e9d8b573e639bdce25430a69d283c1a authored by Georg Brandl on 13 March 2010, 10:02:01 UTC, committed by Georg Brandl on 13 March 2010, 10:02:01 UTC
svn+ssh://svn.python.org/python/branches/py3k ................ r77173 | benjamin.peterson | 2009-12-31 04:35:15 +0100 (Do, 31 Dez 2009) | 13 lines Merged revisions 77151-77152 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r77151 | georg.brandl | 2009-12-30 12:32:50 -0600 (Wed, 30 Dec 2009) | 1 line #7487: update Pygments version. ........ r77152 | georg.brandl | 2009-12-30 12:36:09 -0600 (Wed, 30 Dec 2009) | 1 line #7602: improve "clean" and "checkout" targets now that all tools are in externals. ........ ................
1 parent 87e62f0
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 ...