File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 1- diff -x build -x '*.pyc' -x '*.swp' - Naur numpy-1.7.1.orig/numpy/core/src/multiarray/numpyos.c numpy-1.7.1/numpy/core/src/multiarray/numpyos.c
1+ diff -Naur numpy-1.7.1.orig/numpy/core/src/multiarray/numpyos.c numpy-1.7.1/numpy/core/src/multiarray/numpyos.c
22--- numpy-1.7.1.orig/numpy/core/src/multiarray/numpyos.c 2013-04-07 07:04:05.000000000 +0200
3- +++ numpy-1.7.1/numpy/core/src/multiarray/numpyos.c 2013-05-03 09:08:37.400626077 +0200
4- @@ -171,7 +171,7 @@
3+ +++ numpy-1.7.1/numpy/core/src/multiarray/numpyos.c 2013-05-03 10:29:09.564534138 +0200
4+ @@ -170,8 +170,7 @@
5+ static void
56 _change_decimal_from_locale_to_dot(char* buffer)
67 {
7- struct lconv *locale_data = localeconv();
8+ - struct lconv *locale_data = localeconv();
89- const char *decimal_point = locale_data->decimal_point;
910+ const char *decimal_point = ".";
1011
1112 if (decimal_point[0] != '.' || decimal_point[1] != 0) {
1213 size_t decimal_point_len = strlen(decimal_point);
13- @@ -456,7 +456,7 @@
14+ @@ -455,8 +454,7 @@
15+ NPY_NO_EXPORT double
1416 NumPyOS_ascii_strtod(const char *s, char** endptr)
1517 {
16- struct lconv *locale_data = localeconv();
18+ - struct lconv *locale_data = localeconv();
1719- const char *decimal_point = locale_data->decimal_point;
1820+ const char *decimal_point = ".";
1921 size_t decimal_point_len = strlen(decimal_point);
You can’t perform that action at this time.
0 commit comments