[PATCH] Remove socket.S implementation
Adhemerval Zanella
adhemerval.zanella@linaro.org
Thu May 28 10:32:00 GMT 2015
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.
More information about the Libc-alpha
mailing list