mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
Revert "Add braces in initializers for GCC 4.9 or older"
This reverts commit 8aa2a9e033
.
as not all targets need braces.
This commit is contained in:
@@ -97,7 +97,7 @@ do_test_with_invalid_iov (void)
|
||||
{
|
||||
/* An invalid iovec buffer should trigger an invalid memory access
|
||||
or an error (Linux for instance returns EFAULT). */
|
||||
struct iovec iov[IOV_MAX+1] = { { 0 } };
|
||||
struct iovec iov[IOV_MAX+1] = { 0 };
|
||||
|
||||
TEST_VERIFY (preadv2 (temp_fd, iov, IOV_MAX + 1, 0, RWF_HIPRI) == -1);
|
||||
TEST_VERIFY (errno == EINVAL || errno == ENOTSUP);
|
||||
|
Reference in New Issue
Block a user