File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -372,7 +372,7 @@ static REBSER *Read_All_File(char *fname)
372
372
case REB_TIME :
373
373
timeout = (REBINT ) (VAL_TIME (val ) / (SEC_SEC / 1000 ));
374
374
chk_neg :
375
- if (timeout < 0 ) Trap_Range (val );
375
+ if (timeout < 0 ) timeout = 0 ; // Trap_Range(val);
376
376
break ;
377
377
378
378
case REB_PORT :
Original file line number Diff line number Diff line change @@ -1097,10 +1097,9 @@ Rebol [
1097
1097
===start-group=== "WAIT"
1098
1098
--test-- "wait -1"
1099
1099
;@@ https://github.com/Oldes/Rebol-issues/issues/342
1100
- --assert all [
1101
- error? err: try [wait -1 ]
1102
- err/id = 'out-of-range
1103
- ]
1100
+ ;@@ https://github.com/Oldes/Rebol-issues/issues/2597
1101
+ --assert none? try [wait -1 ]
1102
+ --assert none? try [wait -1:0:0]
1104
1103
1105
1104
===end-group===
1106
1105
You can’t perform that action at this time.
0 commit comments