diff options
author | Ron Yorston <rmy@pobox.com> | 2021-05-14 08:17:12 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-05-14 08:17:12 +0100 |
commit | a3f5a1b7f4275f713acf22f534f95c0da8392e53 (patch) | |
tree | 49b65422a3e9c33f508da9ccf3ae79d324bd9e96 /miscutils/dc.c | |
parent | 375cda9a88024135d630ca8990d9aff4ea414e89 (diff) | |
parent | 7de0ab21d939a5a304157f75918d0318a95261a3 (diff) | |
download | busybox-w32-a3f5a1b7f4275f713acf22f534f95c0da8392e53.tar.gz busybox-w32-a3f5a1b7f4275f713acf22f534f95c0da8392e53.tar.bz2 busybox-w32-a3f5a1b7f4275f713acf22f534f95c0da8392e53.zip |
Merge branch 'busybox' into merge
Diffstat (limited to 'miscutils/dc.c')
-rw-r--r-- | miscutils/dc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/miscutils/dc.c b/miscutils/dc.c index 918f2b5c8..d6369fd15 100644 --- a/miscutils/dc.c +++ b/miscutils/dc.c | |||
@@ -229,6 +229,7 @@ static void stack_machine(const char *argument) | |||
229 | const struct op *o; | 229 | const struct op *o; |
230 | 230 | ||
231 | next: | 231 | next: |
232 | //TODO: needs setlocale(LC_NUMERIC, "C")? | ||
232 | number = strtod(argument, &end); | 233 | number = strtod(argument, &end); |
233 | if (end != argument) { | 234 | if (end != argument) { |
234 | argument = end; | 235 | argument = end; |