File tree 1 file changed +8
-6
lines changed
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
2
2
--- 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
5
6
_change_decimal_from_locale_to_dot(char* buffer)
6
7
{
7
- struct lconv *locale_data = localeconv();
8
+ - struct lconv *locale_data = localeconv();
8
9
- const char *decimal_point = locale_data->decimal_point;
9
10
+ const char *decimal_point = ".";
10
11
11
12
if (decimal_point[0] != '.' || decimal_point[1] != 0) {
12
13
size_t decimal_point_len = strlen(decimal_point);
13
- @@ -456,7 +456,7 @@
14
+ @@ -455,8 +454,7 @@
15
+ NPY_NO_EXPORT double
14
16
NumPyOS_ascii_strtod(const char *s, char** endptr)
15
17
{
16
- struct lconv *locale_data = localeconv();
18
+ - struct lconv *locale_data = localeconv();
17
19
- const char *decimal_point = locale_data->decimal_point;
18
20
+ const char *decimal_point = ".";
19
21
size_t decimal_point_len = strlen(decimal_point);
You can’t perform that action at this time.
0 commit comments