aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1996-02-17 02:32:31 +0000
committerKarl Heuer1996-02-17 02:32:31 +0000
commitab6ca1de2241ce6d2ee3ed3e1d01629d61d148e5 (patch)
tree670eeef0a29038d0caadbd8530de264a8bcb30c9
parent6cb52deffb02eb6501e9186d0802746fe3d6b965 (diff)
downloademacs-ab6ca1de2241ce6d2ee3ed3e1d01629d61d148e5.tar.gz
emacs-ab6ca1de2241ce6d2ee3ed3e1d01629d61d148e5.zip
(Fopen_dribble_file): Check for failure.
-rw-r--r--src/keyboard.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 209bf9dc7c9..5787276e554 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -6890,6 +6890,8 @@ If FILE is nil, close any open dribble file.")
6890 { 6890 {
6891 file = Fexpand_file_name (file, Qnil); 6891 file = Fexpand_file_name (file, Qnil);
6892 dribble = fopen (XSTRING (file)->data, "w"); 6892 dribble = fopen (XSTRING (file)->data, "w");
6893 if (dribble == 0)
6894 report_file_error ("Opening dribble", Fcons (file, Qnil));
6893 } 6895 }
6894 return Qnil; 6896 return Qnil;
6895} 6897}