Skip to content

Commit

Permalink
gray-streams: restore Lisp.getStandardOutput() check
Browse files Browse the repository at this point in the history
  • Loading branch information
easye committed Jun 4, 2023
1 parent 7a2c46c commit e178d23
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/org/armedbear/lisp/Lisp.java
Original file line number Diff line number Diff line change
Expand Up @@ -2381,10 +2381,7 @@ public static final Stream getStandardOutput()
LispObject value = Symbol.STANDARD_OUTPUT.symbolValue();
value = SynonymStream.OUT_SYNONYM_OF.execute(value);
Stream result = checkStream(value);
if (!(result instanceof GrayStream)) {
return checkCharacterOutputStream(result);
}
return result;
return checkCharacterOutputStream(result);
}

static
Expand Down

0 comments on commit e178d23

Please sign in to comment.