summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 91d2141..fc65913 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1585,8 +1585,8 @@ AC_DEFUN(SC_BUGGY_STRTOD, [
if ((term != string) && (term[-1] == 0)) {
exit(1);
}
- value = strtod(string, &term);
- if (term == (string+1)) {
+ value = strtod(spaceString, &term);
+ if (term == (spaceString+1)) {
exit(1);
}
exit(0);