[Python-checkins] r71130 - python/branches/py3k-short-float-repr/Python/pystrtod.c
mark.dickinson
python-checkins at python.org
Sat Apr 4 10:58:11 CEST 2009
Author: mark.dickinson
Date: Sat Apr 4 10:58:11 2009
New Revision: 71130
Log:
Fix string constant
Modified:
python/branches/py3k-short-float-repr/Python/pystrtod.c
Modified: python/branches/py3k-short-float-repr/Python/pystrtod.c
==============================================================================
--- python/branches/py3k-short-float-repr/Python/pystrtod.c (original)
+++ python/branches/py3k-short-float-repr/Python/pystrtod.c Sat Apr 4 10:58:11 2009
@@ -568,7 +568,7 @@
'N' */
/*printf("Help! dtoa returned: %.*s\n",
(int)n_digits, digits);*/
- strncpy(buf, 'ERR', 3);
+ strncpy(buf, "ERR", 3);
buf += 3;
assert(0);
}
More information about the Python-checkins
mailing list