Skip to content

Commit 0622732

Browse files
committed
patch 7.4.1523
Problem: Writing channel to a file fails on MS-Windows. Solution: Disable it for now.
1 parent 6ff02c9 commit 0622732

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

src/testdir/test_channel.vim

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,10 @@ func Test_nl_write_out_file()
550550
if !has('job')
551551
return
552552
endif
553+
" TODO: make this work for MS-Windows
554+
if !has('unix')
555+
return
556+
endif
553557
call ch_log('Test_nl_write_out_file()')
554558
let job = job_start(s:python . " test_channel_pipe.py",
555559
\ {'out-io': 'file', 'out-name': 'Xoutput'})
@@ -571,6 +575,10 @@ func Test_nl_write_err_file()
571575
if !has('job')
572576
return
573577
endif
578+
" TODO: make this work for MS-Windows
579+
if !has('unix')
580+
return
581+
endif
574582
call ch_log('Test_nl_write_err_file()')
575583
let job = job_start(s:python . " test_channel_pipe.py",
576584
\ {'err-io': 'file', 'err-name': 'Xoutput'})
@@ -592,6 +600,10 @@ func Test_nl_write_both_file()
592600
if !has('job')
593601
return
594602
endif
603+
" TODO: make this work for MS-Windows
604+
if !has('unix')
605+
return
606+
endif
595607
call ch_log('Test_nl_write_both_file()')
596608
let job = job_start(s:python . " test_channel_pipe.py",
597609
\ {'out-io': 'file', 'out-name': 'Xoutput', 'err-io': 'out'})

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,8 @@ static char *(features[]) =
743743

744744
static int included_patches[] =
745745
{ /* Add new patch number below this line */
746+
/**/
747+
1523,
746748
/**/
747749
1522,
748750
/**/

0 commit comments

Comments
 (0)