From 83799a7b7414048df4ff4e507293416e8438e225 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 25 Nov 2017 17:24:09 +0100 Subject: [PATCH] patch 8.0.1339: no test for what 8.0.1335 fixes Problem: No test for what 8.0.1335 fixes. Solution: Add a test. (Yasuhiro Matsumoto, closes #2373) --- src/testdir/test_writefile.vim | 8 ++++++++ src/version.c | 2 ++ 2 files changed, 10 insertions(+) diff --git a/src/testdir/test_writefile.vim b/src/testdir/test_writefile.vim index 9703323b0..b8e0001f7 100644 --- a/src/testdir/test_writefile.vim +++ b/src/testdir/test_writefile.vim @@ -100,3 +100,11 @@ func Test_writefile_sync_arg() call writefile(['two'], 'Xtest', 'S') call delete('Xtest') endfunc + +func Test_writefile_sync_dev_stdout() + if !has('unix') + return + endif + " Just check that this doesn't cause an error. + call writefile(['one'], '/dev/stdout') +endfunc diff --git a/src/version.c b/src/version.c index 8cce07899..32c83c8e1 100644 --- a/src/version.c +++ b/src/version.c @@ -771,6 +771,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1339, /**/ 1338, /**/ -- 2.40.0