diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2014-01-21 13:50:13 -0600 |
---|---|---|
committer | Zachary Ware <zachary.ware@gmail.com> | 2014-01-21 13:50:13 -0600 |
commit | ff1769802fc3ac342e45d4967eeece028184fe6c (patch) | |
tree | fd08ccf458c45f70ccb09547d28826a7071c73b3 /Python/strdup.c | |
parent | 77772c41204d33ca7ccb96908d2275a1d2711aa6 (diff) | |
parent | e0833fb5e338ab5d63f7ec2d15bdb65b3dc99e6d (diff) | |
download | cpython-ff1769802fc3ac342e45d4967eeece028184fe6c.tar.gz |
Issue #20301: 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); } |