emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r99528: (fatal): Add a final \n if ne


From: Stefan Monnier
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r99528: (fatal): Add a final \n if needed (bug#5596).
Date: Thu, 18 Feb 2010 12:02:24 -0500
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 99528
committer: Stefan Monnier <address@hidden>
branch nick: trunk
timestamp: Thu 2010-02-18 12:02:24 -0500
message:
  (fatal): Add a final \n if needed (bug#5596).
modified:
  src/ChangeLog
  src/term.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2010-02-18 07:21:15 +0000
+++ b/src/ChangeLog     2010-02-18 17:02:24 +0000
@@ -1,3 +1,7 @@
+2010-02-18  Stefan Monnier  <address@hidden>
+
+       * term.c (fatal): Add a final \n if needed (bug#5596).
+
 2010-02-18  Chong Yidong  <address@hidden>
 
        * nsterm.m (ns_ring_bell): Revert last change (Bug#5569).
@@ -8,15 +12,15 @@
 
 2010-02-18  Kazuhiro Ito  <address@hidden>  (tiny change)
 
-       * coding.c (record_conversion_result): Handle
-       CODING_RESULT_INSUFFICIENT_DST.
+       * coding.c (record_conversion_result):
+       Handle CODING_RESULT_INSUFFICIENT_DST.
        (decode_coding_object): Record CODING_RESULT_INSUFFICIENT_MEM on
        memory allocation error.
 
 2010-02-17  Kenichi Handa  <address@hidden>
 
-       * coding.c (decode_coding_ccl): Don't setup ccl program here.  Fix
-       for the case that the output buffer is fullfilled.
+       * coding.c (decode_coding_ccl): Don't setup ccl program here.
+       Fix for the case that the output buffer is fullfilled.
        (decode_coding): Setup ccl program here.  Keep looping when the
        decoder stopped because the output buffer is
        fullfilled (bug#5534).
@@ -27,7 +31,7 @@
 
        * xterm.c (x_clear_frame_area): Call gtk_widget_queue_draw if USE_GTK,
        bug #5571.
-       (XTflash): Use Gdk-routines if USE_GTK so scroll bars doesn't get
+       (XTflash): Use Gdk-routines if USE_GTK so scroll bars don't get
        overdrawn.
 
 2010-02-10  Jan Djärv  <address@hidden>

=== modified file 'src/term.c'
--- a/src/term.c        2010-01-13 08:35:10 +0000
+++ b/src/term.c        2010-02-18 17:02:24 +0000
@@ -3938,6 +3938,8 @@
   va_start (ap, str);
   fprintf (stderr, "emacs: ");
   vfprintf (stderr, str, ap);
+  if (!(strlen (str) > 0 && str[strlen (str) - 1] == '\n'))
+    fprintf (stderr, "\n");
   va_end (ap);
   fflush (stderr);
   exit (1);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]