To: vim_dev@googlegroups.com Subject: Patch 8.1.0791 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.1.0791 Problem: A few compiler warnings on VMS. Solution: Remove type cast. Adjust #ifdef. (Zoltan Arpadffy) Files: src/os_unix.c, src/proto.h *** ../vim-8.1.0790/src/os_unix.c 2019-01-20 23:43:54.314830624 +0100 --- src/os_unix.c 2019-01-22 21:34:32.826950388 +0100 *************** *** 1935,1941 **** alarm(0); signal(SIGALRM, (RETSIGTYPE (*)())sig_save); if (p_verbose > 0 && sig_alarm_called) ! verb_msg((char_u *)_("Opening the X display timed out")); #endif if (x11_display != NULL) { --- 1935,1941 ---- alarm(0); signal(SIGALRM, (RETSIGTYPE (*)())sig_save); if (p_verbose > 0 && sig_alarm_called) ! verb_msg(_("Opening the X display timed out")); #endif if (x11_display != NULL) { *** ../vim-8.1.0790/src/proto.h 2019-01-17 15:43:21.765878343 +0100 --- src/proto.h 2019-01-22 21:35:47.226426974 +0100 *************** *** 256,262 **** # endif # if defined(FEAT_GUI) || defined(FEAT_JOB_CHANNEL) ! # if defined(UNIX) || defined(MACOS_X) # include "pty.pro" # endif # endif --- 256,262 ---- # endif # if defined(FEAT_GUI) || defined(FEAT_JOB_CHANNEL) ! # if defined(UNIX) || defined(MACOS_X) || defined(VMS) # include "pty.pro" # endif # endif *** ../vim-8.1.0790/src/version.c 2019-01-22 21:27:08.890053701 +0100 --- src/version.c 2019-01-22 21:45:29.605732377 +0100 *************** *** 793,794 **** --- 793,796 ---- { /* Add new patch number below this line */ + /**/ + 791, /**/ -- The greatest lies of all time: (1) The check is in the mail. (2) We have a really challenging assignment for you. (3) I love you. (4) All bugs have been fixed. (5) This won't hurt a bit. (6) Honey, I just need to debug this program and be home in 5 minutes. (7) I have just sent you an e-mail about that. (8) Of course I'll respect you in the morning. (9) I'm from the government, and I'm here to help you. /// Bram Moolenaar -- Bram@Moolenaar.net -- 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 ///