5d4315bc1a
LabPlot is a program for two- and three-dimensional graphical presentation of data sets and functions. LabPlot allows you to work with multiple plots which each can have multiple graphs. The graphs can be produced from data or from functions.
16 lines
389 B
Plaintext
16 lines
389 B
Plaintext
Index: src/backend/gsl/parser.y
|
|
--- src/backend/gsl/parser.y.orig
|
|
+++ src/backend/gsl/parser.y
|
|
@@ -355,7 +355,11 @@ int yylex(param *p) {
|
|
#endif
|
|
double result;
|
|
if (locale != NULL) {
|
|
+#if defined(__OpenBSD__)
|
|
+ result = strtod(s, &remain);
|
|
+#else
|
|
result = strtod_l(s, &remain, locale);
|
|
+#endif
|
|
freelocale(locale);
|
|
} else // use C locale
|
|
result = strtod(s, &remain);
|