From: Vladimír Marek Date: Sun, 21 Jun 2026 17:59:05 +0000 (+0000) Subject: patch 9.2.0695: Solaris: test_delete_temp_dir() fails because of missing flock X-Git-Tag: v9.2.0695^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b4ccb556d77ac389a1ab9c995dfb04dea08909d;p=thirdparty%2Fvim.git patch 9.2.0695: Solaris: test_delete_temp_dir() fails because of missing flock Problem: Solaris: test_delete_temp_dir() fails because of missing flock Solution: Skip the test (Vladimír Marek) Test_delete_temp_dir() assumes Vim can detect when its cached private temp directory has been deleted, which depends on flock/dirfd support. Solaris does not provide flock(), so Vim keeps using the cached temp directory path after the directory has been deleted. Skip the test there. closes: #20567 Signed-off-by: Vladimír Marek Signed-off-by: Christian Brabandt --- diff --git a/src/testdir/test_vimscript.vim b/src/testdir/test_vimscript.vim index d9ba550f97..da94dad7b8 100644 --- a/src/testdir/test_vimscript.vim +++ b/src/testdir/test_vimscript.vim @@ -7734,6 +7734,9 @@ func Test_delete_temp_dir() " assumes Unix has always flock/dirfd support CheckUnix CheckNotMac + if has('sun') + throw 'Skipped: Solaris Vim does not detect deleted tempdir without flock()' + endif let a = tempname() let dir = fnamemodify(a, ':h') call delete(dir, 'rf') diff --git a/src/version.c b/src/version.c index 0f7c67d290..c1e5a94073 100644 --- a/src/version.c +++ b/src/version.c @@ -759,6 +759,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 695, /**/ 694, /**/