diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-05-04 23:05:28 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-05-04 23:05:28 +0300 |
commit | e7dced088c226280bcb1edb252011d6c186504e4 (patch) | |
tree | 868eabc52db1e4a08e1385868e1a56062e74ea40 /io.c | |
parent | 19093d5a231421594788d633e811859276d8f92f (diff) | |
download | egawk-e7dced088c226280bcb1edb252011d6c186504e4.tar.gz egawk-e7dced088c226280bcb1edb252011d6c186504e4.tar.bz2 egawk-e7dced088c226280bcb1edb252011d6c186504e4.zip |
Fix problem with subarray of deleted array.
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1504,7 +1504,7 @@ devopen(const char *name, const char *mode) */ if ((ms2 = getenv("GAWK_MSEC_SLEEP")) != NULL) { msleep = strtol(ms2, &end, 10); - if (end != cp && msleep < 0) + if (end == ms2 || msleep < 0) msleep = 1000; else msleep *= 1000; |