diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-12-19 16:28:04 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-12-19 16:28:04 +0200 |
commit | 4227b17d9339bf04d5bc1af4a589eabaaa46703c (patch) | |
tree | 956667b1fe56f0c11ec7af6c85345a88e4be796e /Python/strdup.c | |
parent | 65ab1a2a0f28cdc19d18a84dcccbe18fdf15d858 (diff) | |
parent | b283473939e00f8ee3b773edf64b4c0098ff2e38 (diff) | |
download | cpython-4227b17d9339bf04d5bc1af4a589eabaaa46703c.tar.gz |
Issue #18829: csv.Dialect() now checks type for delimiter, escapechar and
quotechar fields. Original patch by Vajrasky Kok.
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); } |