[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] [Mint-cvs] [FreeMiNT CVS] freemint/sys



Hi Helmut,

Can I ask what this fixes in more detail ?

Does it fix specific programs ?

Thanks,

Alan.

On 08/02/15 12:25, cvs@sparemint.org wrote:
> Update of /mint/freemint/sys
> In directory mail.sparemint.org:/tmp/cvs-serv27552
>
> Modified Files:
>       Tag: helmut-enhancements
> 	pipefs.c 
> Log Message:
> break from read after chunk if no terminal
>
>
> Index: freemint/sys/pipefs.c
> diff -u freemint/sys/pipefs.c:1.10.6.5 freemint/sys/pipefs.c:1.10.6.6
> --- freemint/sys/pipefs.c:1.10.6.5	Sat Jan  3 08:36:23 2015
> +++ freemint/sys/pipefs.c	Sun Feb  8 07:25:31 2015
> @@ -1,5 +1,5 @@
>  /*
> - * $Id: pipefs.c,v 1.10.6.5 2015/01/03 13:36:23 hek Exp $
> + * $Id: pipefs.c,v 1.10.6.6 2015/02/08 12:25:31 hek Exp $
>   *
>   * This file has been modified as part of the FreeMiNT project. See
>   * the file Changes.MH for details and dates.
> @@ -1060,6 +1060,8 @@
>  			if (plen == 0 || p->start == PIPESIZ)
>  			  p->start = 0;
>  			pipe_wake_writers (p);
> +			if( !is_terminal(f) )
> +				break;
>  		}
>  		else if ((p->writers <= 0 || p->writers == VIRGIN_PIPE) && !(f->flags & O_HEAD))
>  		{
> @@ -1089,7 +1091,6 @@
>  
>  	if (p->len < PIPESIZ)
>  		pipe_wake_writers (p);
> -
>  	return bytes_read;
>  }
>  
>
> _______________________________________________
> cz-bobek-lists-mint-cvs mailing list
> mint-cvs@lists.bobek.cz
> https://lists.bobek.cz/mailman/listinfo/cz-bobek-lists-mint-cvs