Problem: On some systems /dev/stdout isn't writable.
Solution: Skip test if writing is not possible. (James McCoy, closes #2830)
if !has('unix')
return
endif
- " Just check that this doesn't cause an error.
- call writefile(['one'], '/dev/stdout')
+ 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
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1744,
/**/
1743,
/**/