https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1a646ad7970a2cd3a1c931af4217cc17fc576116
commit 1a646ad7970a2cd3a1c931af4217cc17fc576116 Author: Jon Turney <[email protected]> Date: Thu Aug 10 20:50:00 2023 +0100 Cygwin: testsuite: Tweak lseek03 after addition of SEEK_HOLE After addition of SEEK_HOLE, the whence of *4* is not an invalid argument, causing the test to FAIL. See ltp commit 423e636a4c8f ("lseek03: change to fix with the lseek syscall") Diff: --- winsup/testsuite/winsup.api/ltp/lseek03.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/testsuite/winsup.api/ltp/lseek03.c b/winsup/testsuite/winsup.api/ltp/lseek03.c index 51c303d85..06bbcc32b 100644 --- a/winsup/testsuite/winsup.api/ltp/lseek03.c +++ b/winsup/testsuite/winsup.api/ltp/lseek03.c @@ -129,7 +129,7 @@ char fname[255]; int fd; int Rec_sigsys = 0; -int Whences[] = { 4, -1, 7 }; +int Whences[] = { 5, -1, 7 }; int main(int ac, char **av)
