Displaying 7 results from an estimated 7 matches for "badnum".
Did you mean:
bandnum
2019 Jan 25
0
[klibc:update-dash] mystring: fix "Illegal number" on FreeBSD & macOS for x=; echo $((x))
...on(-)
diff --git a/usr/dash/mystring.c b/usr/dash/mystring.c
index 0106bd27..de624b89 100644
--- a/usr/dash/mystring.c
+++ b/usr/dash/mystring.c
@@ -125,7 +125,7 @@ intmax_t atomax(const char *s, int base)
errno = 0;
r = strtoimax(s, &p, base);
- if (errno != 0)
+ if (errno == ERANGE)
badnum(s);
/*
2020 Mar 28
0
[klibc:update-dash] dash: mystring: fix "Illegal number" on FreeBSD & macOS for x=; echo $((x))
...on(-)
diff --git a/usr/dash/mystring.c b/usr/dash/mystring.c
index 0106bd27..de624b89 100644
--- a/usr/dash/mystring.c
+++ b/usr/dash/mystring.c
@@ -125,7 +125,7 @@ intmax_t atomax(const char *s, int base)
errno = 0;
r = strtoimax(s, &p, base);
- if (errno != 0)
+ if (errno == ERANGE)
badnum(s);
/*
2010 Mar 22
1
[git pull] dash, sh4, README's
...intmax_t support
[klibc] [ARITH] Size optimisations in arithmetic lexer
[klibc] [EXPAND] Add likely flags in expari
[klibc] [BUILTIN] Use setvarint to set OPTIND
[klibc] [EXEC] Fixed execing of scripts with no hash-bang
[klibc] [SHELL] Replace shared illnum message by badnum function.
[klibc] [EXPAND] Added configure --enable-glob and --enable-fnmatch options
[klibc] [PARSER] Fix here-doc corruption
[klibc] [PARSER] Removed noexpand/length check on eofmark
[klibc] [EXPAND] Removed herefd hack
[klibc] [EXPAND] Expand here-documents in the c...
2010 Apr 16
0
[git pull v4] dash, sh4, ipconfig, dprintf, fstype, README's
...intmax_t support
[klibc] [ARITH] Size optimisations in arithmetic lexer
[klibc] [EXPAND] Add likely flags in expari
[klibc] [BUILTIN] Use setvarint to set OPTIND
[klibc] [EXEC] Fixed execing of scripts with no hash-bang
[klibc] [SHELL] Replace shared illnum message by badnum function.
[klibc] [EXPAND] Added configure --enable-glob and --enable-fnmatch options
[klibc] [PARSER] Fix here-doc corruption
[klibc] [PARSER] Removed noexpand/length check on eofmark
[klibc] [EXPAND] Removed herefd hack
[klibc] [EXPAND] Expand here-documents in the c...
2010 Apr 16
0
[PATCH] pull faccessat() system call
...intmax_t support
[klibc] [ARITH] Size optimisations in arithmetic lexer
[klibc] [EXPAND] Add likely flags in expari
[klibc] [BUILTIN] Use setvarint to set OPTIND
[klibc] [EXEC] Fixed execing of scripts with no hash-bang
[klibc] [SHELL] Replace shared illnum message by badnum function.
[klibc] [EXPAND] Added configure --enable-glob and --enable-fnmatch options
[klibc] [PARSER] Fix here-doc corruption
[klibc] [PARSER] Removed noexpand/length check on eofmark
[klibc] [EXPAND] Removed herefd hack
[klibc] [EXPAND] Expand here-documents in the c...
2010 Mar 28
1
[git pull v3] dash, sh4, ipconfig, dprintf, fstype, README's
...intmax_t support
[klibc] [ARITH] Size optimisations in arithmetic lexer
[klibc] [EXPAND] Add likely flags in expari
[klibc] [BUILTIN] Use setvarint to set OPTIND
[klibc] [EXEC] Fixed execing of scripts with no hash-bang
[klibc] [SHELL] Replace shared illnum message by badnum function.
[klibc] [EXPAND] Added configure --enable-glob and --enable-fnmatch options
[klibc] [PARSER] Fix here-doc corruption
[klibc] [PARSER] Removed noexpand/length check on eofmark
[klibc] [EXPAND] Removed herefd hack
[klibc] [EXPAND] Expand here-documents in the c...
2006 Jan 01
20
A comment about R:
Readers of this list might be interested in the following commenta about R.
In a recent report, by Michael N. Mitchell
http://www.ats.ucla.edu/stat/technicalreports/
says about R:
"Perhaps the most notable exception to this discussion is R, a language for
statistical computing and graphics.
R is free to download under the terms of the GNU General Public License (see
http://www.r-project.