vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 83895c00f801b1a31587475df6aff7c099f1a69a parent 151ebf2b982e70272d5cfdadc060c62195fc6501 Author: Marc André Tanner <mat@brain-dump.org> Date: Sat, 24 Oct 2020 11:14:37 +0200 text/core: skip failing I/O test on Cygwin Cygwin does seemingly not support overlapping mmap(2) regions. Diffstat:
| M | core/text-test.c | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/core/text-test.c b/core/text-test.c @@ -134,6 +134,10 @@ int main(int argc, char *argv[]) { for (size_t l = 0; l < LENGTH(load_method); l++) { for (size_t s = 0; s < LENGTH(save_method); s++) { +#ifdef __CYGWIN__ + if (load_method[l] == TEXT_LOAD_MMAP && save_method[s] == TEXT_SAVE_INPLACE) + continue; +#endif snprintf(buf, sizeof buf, "Hello World: (%zu, %zu)\n", l, s); txt = text_load_method(filename, load_method[l]); ok(txt, "Load (%zu, %zu)", l, s);