aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2010-02-18 12:02:24 -0500
committerStefan Monnier2010-02-18 12:02:24 -0500
commit886cc2b86a2eb1c521d466fac9d107c2fa7ca115 (patch)
tree53bdd07518df7677b9959dac6e70b7bcd0156877 /src
parent73a37a6958c1cb93dafacc4c778567c239f2b171 (diff)
downloademacs-886cc2b86a2eb1c521d466fac9d107c2fa7ca115.tar.gz
emacs-886cc2b86a2eb1c521d466fac9d107c2fa7ca115.zip
(fatal): Add a final \n if needed (bug#5596).
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog14
-rw-r--r--src/term.c2
2 files changed, 11 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7321b63ed07..14e06fc1e28 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * term.c (fatal): Add a final \n if needed (bug#5596).
4
12010-02-18 Chong Yidong <cyd@stupidchicken.com> 52010-02-18 Chong Yidong <cyd@stupidchicken.com>
2 6
3 * nsterm.m (ns_ring_bell): Revert last change (Bug#5569). 7 * nsterm.m (ns_ring_bell): Revert last change (Bug#5569).
@@ -8,15 +12,15 @@
8 12
92010-02-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change) 132010-02-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
10 14
11 * coding.c (record_conversion_result): Handle 15 * coding.c (record_conversion_result):
12 CODING_RESULT_INSUFFICIENT_DST. 16 Handle CODING_RESULT_INSUFFICIENT_DST.
13 (decode_coding_object): Record CODING_RESULT_INSUFFICIENT_MEM on 17 (decode_coding_object): Record CODING_RESULT_INSUFFICIENT_MEM on
14 memory allocation error. 18 memory allocation error.
15 19
162010-02-17 Kenichi Handa <handa@m17n.org> 202010-02-17 Kenichi Handa <handa@m17n.org>
17 21
18 * coding.c (decode_coding_ccl): Don't setup ccl program here. Fix 22 * coding.c (decode_coding_ccl): Don't setup ccl program here.
19 for the case that the output buffer is fullfilled. 23 Fix for the case that the output buffer is fullfilled.
20 (decode_coding): Setup ccl program here. Keep looping when the 24 (decode_coding): Setup ccl program here. Keep looping when the
21 decoder stopped because the output buffer is 25 decoder stopped because the output buffer is
22 fullfilled (bug#5534). 26 fullfilled (bug#5534).
@@ -27,7 +31,7 @@
27 31
28 * xterm.c (x_clear_frame_area): Call gtk_widget_queue_draw if USE_GTK, 32 * xterm.c (x_clear_frame_area): Call gtk_widget_queue_draw if USE_GTK,
29 bug #5571. 33 bug #5571.
30 (XTflash): Use Gdk-routines if USE_GTK so scroll bars doesn't get 34 (XTflash): Use Gdk-routines if USE_GTK so scroll bars don't get
31 overdrawn. 35 overdrawn.
32 36
332010-02-10 Jan Djärv <jan.h.d@swipnet.se> 372010-02-10 Jan Djärv <jan.h.d@swipnet.se>
diff --git a/src/term.c b/src/term.c
index 2dc2d2d2015..56c76fc6009 100644
--- a/src/term.c
+++ b/src/term.c
@@ -3938,6 +3938,8 @@ fatal (const char *str, ...)
3938 va_start (ap, str); 3938 va_start (ap, str);
3939 fprintf (stderr, "emacs: "); 3939 fprintf (stderr, "emacs: ");
3940 vfprintf (stderr, str, ap); 3940 vfprintf (stderr, str, ap);
3941 if (!(strlen (str) > 0 && str[strlen (str) - 1] == '\n'))
3942 fprintf (stderr, "\n");
3941 va_end (ap); 3943 va_end (ap);
3942 fflush (stderr); 3944 fflush (stderr);
3943 exit (1); 3945 exit (1);