diff options
author | Georg Brandl <georg@python.org> | 2013-10-28 08:08:09 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-10-28 08:08:09 +0100 |
commit | 03b9c293da396efd6df7fb0d980db0faa8bb4b49 (patch) | |
tree | 9d1da9bb4648df90b7f435bc5eadc38c26da011e /Python/strdup.c | |
parent | bc3101edfd79f9d63af2f7503c94e1c5390f9074 (diff) | |
parent | 8d7b2d90166762520cd2f911bb3bcaf71c41c98c (diff) | |
download | cpython-03b9c293da396efd6df7fb0d980db0faa8bb4b49.tar.gz |
null merge with 3.3
Diffstat (limited to 'Python/strdup.c')
-rw-r--r-- | Python/strdup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/strdup.c b/Python/strdup.c index 20187e0f0a..769d3db130 100644 --- a/Python/strdup.c +++ b/Python/strdup.c @@ -6,7 +6,7 @@ char * strdup(const char *str) { if (str != NULL) { - register char *copy = malloc(strlen(str) + 1); + char *copy = malloc(strlen(str) + 1); if (copy != NULL) return strcpy(copy, str); } |