[PATCH] Remove socket.S implementation

Chris Metcalf cmetcalf@ezchip.com
Thu May 28 00:45:00 GMT 2015


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.

-- 
Chris Metcalf, EZChip Semiconductor
http://www.ezchip.com



More information about the Libc-alpha mailing list