Mercurial > vim
view src/msys64.bat @ 34790:1104d85c7dcc v9.1.0269
patch 9.1.0269: Test for TextChanged is still flaky with ASAN
Commit: https://github.com/vim/vim/commit/e9ff79a7c9affea970f50de2aa65f62080b55323
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri Apr 5 20:07:39 2024 +0200
patch 9.1.0269: Test for TextChanged is still flaky with ASAN
Problem: Test for TextChanged is still flaky with ASAN.
Solution: Don't index the result of readfile().
(zeertzjq)
It turns out that with ASAN the file may become empty during a write
even if it's non-empty both before and after the write, in which case
indexing the result of readfile() will error, so use join() instead.
Also don't delete the file halfway the test, just in case it may cause
errors on the next read.
closes: #14421
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 05 Apr 2024 20:15:06 +0200 |
parents | 78449866e9a9 |
children |
line wrap: on
line source
@echo off rem To be used on MS-Windows for Msys2 with the 64 bit MinGW compiler. rem Adjust the "c:\msys64" part to match your installation. @echo on set PATH=c:\msys64\mingw64\bin;c:\msys64\usr\bin;%PATH%