mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
Update.
2003-08-06 Jakub Jelinek <jakub@redhat.com> * tst-cancel17.c (do_test): Make len2 maximum of page size and PIPE_BUF.
This commit is contained in:
parent
1b990bd670
commit
a30fb2df74
@ -1,3 +1,8 @@
|
||||
2003-08-06 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* tst-cancel17.c (do_test): Make len2 maximum of page size and
|
||||
PIPE_BUF.
|
||||
|
||||
2003-08-07 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* pthread_create.c (__pthread_create_2_0): Clear new_attr.cpuset.
|
||||
|
@ -226,7 +226,9 @@ do_test (void)
|
||||
|
||||
cl_called = 0;
|
||||
|
||||
size_t len2 = fpathconf (fds[1], _PC_PIPE_BUF) + sizeof (mem) + 1;
|
||||
size_t len2 = fpathconf (fds[1], _PC_PIPE_BUF);
|
||||
size_t page_size = sysconf (_SC_PAGESIZE);
|
||||
len2 = (len2 < page_size ? page_size : len2) + sizeof (mem) + 1;
|
||||
char *mem2 = malloc (len2);
|
||||
if (mem2 == NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user