]> granicus.if.org Git - vim/commitdiff
patch 8.0.1760: wrong number of arguments to vms_read() v8.0.1760
authorBram Moolenaar <Bram@vim.org>
Tue, 24 Apr 2018 18:27:26 +0000 (20:27 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 24 Apr 2018 18:27:26 +0000 (20:27 +0200)
Problem:    Wrong number of arguments to vms_read().
Solution:   Drop the first argument. (Ozaki Kiichi)

src/ui.c
src/version.c

index 9c2563829b37bf49ecaa8f3e27e4419eccbbd03a..bb038801aca6229e1719eb17cfea2056355fc520 100644 (file)
--- a/src/ui.c
+++ b/src/ui.c
@@ -1860,7 +1860,7 @@ fill_input_buf(int exit_on_error UNUSED)
 #  endif
                            );
 #  ifdef VMS
-       len = vms_read(read_cmd_fd, (char *)inbuf + inbufcount, readlen);
+       len = vms_read((char *)inbuf + inbufcount, readlen);
 #  else
        len = read(read_cmd_fd, (char *)inbuf + inbufcount, readlen);
 #  endif
index c25fcf1634e44cb7f8b8496b3652465e8ecc5b92..f16a4a7b204f23b8922f99817dca9dee824afc72 100644 (file)
@@ -761,6 +761,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1760,
 /**/
     1759,
 /**/