Patch 8.2.0728
Problem: Messages about a deadly signal are not left aligned.
Solution: Output a CR before the NL. (Dominique Pelle, #6055)
Files: src/misc1.c, src/os_unix.c
*** ../vim-8.2.0727/src/misc1.c 2020-05-03 22:57:26.973427368 +0200
--- src/misc1.c 2020-05-10 14:11:27.168391774 +0200
***************
*** 2174,2180 ****
{
if (buf->b_ml.ml_mfp != NULL && buf->b_ml.ml_mfp->mf_fname != NULL)
{
! OUT_STR("Vim: preserving files...\n");
screen_start(); // don't know where cursor is now
out_flush();
ml_sync_all(FALSE, FALSE); // preserve all swap files
--- 2174,2180 ----
{
if (buf->b_ml.ml_mfp != NULL && buf->b_ml.ml_mfp->mf_fname != NULL)
{
! OUT_STR("Vim: preserving files...\r\n");
screen_start(); // don't know where cursor is now
out_flush();
ml_sync_all(FALSE, FALSE); // preserve all swap files
***************
*** 2184,2190 ****
ml_close_all(FALSE); // close all memfiles, without deleting
! OUT_STR("Vim: Finished.\n");
getout(1);
}
--- 2184,2190 ----
ml_close_all(FALSE); // close all memfiles, without deleting
! OUT_STR("Vim: Finished.\r\n");
getout(1);
}
*** ../vim-8.2.0727/src/os_unix.c 2020-05-09 16:11:30.316503475 +0200
--- src/os_unix.c 2020-05-10 14:11:51.984258909 +0200
***************
*** 1083,1092 ****
// No translation, it may call malloc().
#ifdef SIGHASARG
! sprintf((char *)IObuff, "Vim: Caught deadly signal %s\n",
signal_info[i].name);
#else
! sprintf((char *)IObuff, "Vim: Caught deadly signal\n");
#endif
// Preserve files and exit. This sets the really_exiting flag to prevent
--- 1083,1092 ----
// No translation, it may call malloc().
#ifdef SIGHASARG
! sprintf((char *)IObuff, "Vim: Caught deadly signal %s\r\n",
signal_info[i].name);
#else
! sprintf((char *)IObuff, "Vim: Caught deadly signal\r\n");
#endif
// Preserve files and exit. This sets the really_exiting flag to prevent
*** ../vim-8.2.0727/src/version.c 2020-05-10 13:42:39.377975569 +0200
--- src/version.c 2020-05-10 14:12:48.951961442 +0200
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 728,
/**/
--
hundred-and-one symptoms of being an internet addict:
88. Every single time you press the 'Get mail' button...it does get new mail.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202005101214.04ACEU4b017003%40masaka.moolenaar.net.