summaryrefslogtreecommitdiff
path: root/epoc/epocish.c
diff options
context:
space:
mode:
authorOlaf Flebbe <o.flebbe@science-computing.de>2000-11-19 20:33:30 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2000-11-20 01:58:11 +0000
commitfa6a1c441b7e2c8c5e7ee1e3836a41fc8a364e89 (patch)
tree551cec2742d1066daac417e04c5e1e00811b967e /epoc/epocish.c
parent07d29b54c8a15c0fd1ebf8765665546568dfb928 (diff)
downloadperl-fa6a1c441b7e2c8c5e7ee1e3836a41fc8a364e89.tar.gz
[perl 7711: EPOC] updates
Message-ID: <25575.974658810@www23.gmx.net> p4raw-id: //depot/perl@7758
Diffstat (limited to 'epoc/epocish.c')
-rw-r--r--epoc/epocish.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/epoc/epocish.c b/epoc/epocish.c
index 4963a2e5b5..a0557cc129 100644
--- a/epoc/epocish.c
+++ b/epoc/epocish.c
@@ -33,8 +33,12 @@ epoc_spawn( char *cmd, char *cmdline) {
/* Workaround for defect atof(), see java defect list for epoc */
- double epoc_atof( const char* str) {
+ double epoc_atof( char* str) {
TReal64 aRes;
+
+ while (TChar( *str).IsSpace()) {
+ str++;
+ }
TLex lex( _L( str));
TInt err = lex.Val( aRes, TChar( '.'));