diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-06-27 20:18:46 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-06-27 20:18:46 +0300 |
commit | 4a4af3ea7690f380f29b99c59219421ef979e343 (patch) | |
tree | 12bbdbe87369e7f13e482d9a016b188907c05316 /node.c | |
parent | 7f57d12c835729207aea12e22021efce1705e6a0 (diff) | |
parent | ffea4491ee78863f024b34106514b282e281576b (diff) | |
download | egawk-4a4af3ea7690f380f29b99c59219421ef979e343.tar.gz egawk-4a4af3ea7690f380f29b99c59219421ef979e343.tar.bz2 egawk-4a4af3ea7690f380f29b99c59219421ef979e343.zip |
Merge branch 'gawk-4.2-stable'
Diffstat (limited to 'node.c')
-rw-r--r-- | node.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -140,7 +140,8 @@ r_force_number(NODE *n) *cpend = save; } - if (errno == 0) { + if (errno == 0 || errno == ERANGE) { + errno = 0; /* reset in case of ERANGE */ if (ptr == cpend) goto goodnum; /* else keep the leading numeric value without updating flags */ |