From dcffa17db2fe4788baca8bd32a6848925a42fd3d Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Tue, 24 May 2005 14:57:45 +0000 Subject: [PATCH] this test breaks on the new pre-i/o i/o buffer check. it wants to read more than its buffer allowed, so it is reasonable that it breaks. reducing read request size 'fixes' it. --- test/test19.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test19.c b/test/test19.c index 760f96550..0ad9272d2 100644 --- a/test/test19.c +++ b/test/test19.c @@ -352,7 +352,7 @@ void test19e() if (write(n, a, 255) != 255) e(38); read(n1, b, 20); if (lseek(n, 0L, SEEK_SET) != 0L) e(39); - if ((j = read(n1, b, 1024)) != 255) e(40); + if ((j = read(n1, b, 512)) != 255) e(40); if (unlink("T3b") < 0) e(41); if (close(n) < 0) e(42); if (close(n1) < 0) e(43); -- 2.44.0