This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Remove socket.S implementation
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: Chris Metcalf <cmetcalf at ezchip dot com>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 27 May 2015 17:33:03 -0300
- Subject: Re: [PATCH] Remove socket.S implementation
- Authentication-results: sourceware.org; auth=none
- References: <555C9805 dot 1010100 at linaro dot org> <5566256F dot 2000007 at ezchip dot com>
On 27-05-2015 17:13, Chris Metcalf wrote:
> On 05/20/2015 10:19 AM, Adhemerval Zanella wrote:
>> diff --git a/sysdeps/unix/sysv/linux/malloc-sysdep.h b/sysdeps/unix/sysv/linux/malloc-sysdep.h
>> index cd6255f..6af1107 100644
>> --- a/sysdeps/unix/sysv/linux/malloc-sysdep.h
>> +++ b/sysdeps/unix/sysv/linux/malloc-sysdep.h
>> @@ -46,7 +46,7 @@ check_may_shrink_heap (void)
>> O_RDONLY | O_CLOEXEC);
>> if (fd >= 0)
>> {
>> - char val;
>> + char val = 0;
>> ssize_t n = read_not_cancel (fd, &val, 1);
>> may_shrink_heap = n > 0 && val == '2';
>> close_not_cancel_no_status (fd);
>
> If you were doing this to avoid the compiler warning on tile, you
> should probably revert it from the patch now.
>
I haven't pushed this modification.