projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c99f3e
)
(message2_nolog): Don't call fwrite will null string.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 12 Jul 1997 06:47:19 +0000
(06:47 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 12 Jul 1997 06:47:19 +0000
(06:47 +0000)
src/xdisp.c
patch
|
blob
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index 65b4c2c26e8c58a81c281a77723d5f301553009d..a1fad6a504d130e46d6ea18a297c43281db8abff 100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-418,7
+418,8
@@
message2_nolog (m, len)
if (noninteractive_need_newline)
putc ('\n', stderr);
noninteractive_need_newline = 0;
- fwrite (m, len, 1, stderr);
+ if (m)
+ fwrite (m, len, 1, stderr);
if (cursor_in_echo_area == 0)
fprintf (stderr, "\n");
fflush (stderr);