(do_test): Give buff permanent extend, too.
authordrepper <drepper>
Fri, 7 Mar 2003 22:15:09 +0000 (22:15 +0000)
committerdrepper <drepper>
Fri, 7 Mar 2003 22:15:09 +0000 (22:15 +0000)
rt/tst-aio7.c

index 2925b62..a035f94 100644 (file)
@@ -119,7 +119,7 @@ do_test (void)
   {
     const int BYTES = 8, ELEMS = 2;
     int i, r, fd;
-    char buff[BYTES];
+    static char buff[BYTES];
     char name[] = "/tmp/aio7.XXXXXX";
     struct timespec timeout;
     static struct aiocb cb0, cb1;