projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
1.0.28.65: fix compiling with *PROFILE-HASH-CACHE* set to T
[sbcl.git]
/
src
/
runtime
/
monitor.c
diff --git
a/src/runtime/monitor.c
b/src/runtime/monitor.c
index
9d17508
..
6920df4
100644
(file)
--- a/
src/runtime/monitor.c
+++ b/
src/runtime/monitor.c
@@
-454,6
+454,10
@@
sub_monitor(void)
if (!ldb_in) {
#ifndef LISP_FEATURE_WIN32
ldb_in = fopen("/dev/tty","r+");
+ if (ldb_in == NULL) {
+ perror("Error opening /dev/tty");
+ ldb_in = stdin;
+ }
#else
ldb_in = stdin;
#endif