Patch 8.0.1744
Problem:    On some systems /dev/stdout isn't writable.
Solution:   Skip test if writing is not possible. (James McCoy, closes #2830)
Files:      src/testdir/test_writefile.vim


*** ../vim-8.0.1743/src/testdir/test_writefile.vim      2017-11-25 
17:24:05.634587905 +0100
--- src/testdir/test_writefile.vim      2018-04-21 20:10:32.735577871 +0200
***************
*** 105,110 ****
    if !has('unix')
      return
    endif
!   " Just check that this doesn't cause an error.
!   call writefile(['one'], '/dev/stdout')
  endfunc
--- 105,114 ----
    if !has('unix')
      return
    endif
!   if filewritable('/dev/stdout')
!     " Just check that this doesn't cause an error.
!     call writefile(['one'], '/dev/stdout')
!   else
!     throw 'Skipped: /dev/stdout is not writable'
!   endif
  endfunc
*** ../vim-8.0.1743/src/version.c       2018-04-21 20:02:32.742539917 +0200
--- src/version.c       2018-04-21 20:11:39.251174672 +0200
***************
*** 763,764 ****
--- 763,766 ----
  {   /* Add new patch number below this line */
+ /**/
+     1744,
  /**/

-- 
Eagles may soar, but weasels don't get sucked into jet engines.

 /// 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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui