This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Remove socket.S implementation



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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]