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

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



On Mon, 2011-01-10 at 21:57 +0000, cvs@sparemint.org wrote:
> Update of /mint/freemint/sys
> In directory mail.sparemint.org:/tmp/cvs-serv12066
> 
> Modified Files:
>       Tag: freemint-1_17
> 	block_IO.c 
> Log Message:
> cast __LINE__ to long in case the file has more than 32768 lines some day
> 
> 
> Index: freemint/sys/block_IO.c
> diff -u freemint/sys/block_IO.c:1.22 freemint/sys/block_IO.c:1.22.2.1
> --- freemint/sys/block_IO.c:1.22	Wed Jan 13 12:13:49 2010
> +++ freemint/sys/block_IO.c	Mon Jan 10 16:57:05 2011
> @@ -1,5 +1,5 @@
>  /*
> - * $Id: block_IO.c,v 1.22 2010/01/13 17:13:49 alanh Exp $
> + * $Id: block_IO.c,v 1.22.2.1 2011/01/10 21:57:05 hek Exp $
>   *
>   * This file belongs to FreeMiNT. It's not in the original MiNT 1.12
>   * distribution. See the file CHANGES for a detailed log of changes.
> @@ -209,7 +209,7 @@
>  # endif
>  
>  # ifndef DEV_RANDOM
> -# define add_blkdev_randomness (drv)
> +# define add_blkdev_randomness(drv)
>  # endif
>  
>  /****************************************************************************/
> @@ -803,7 +803,7 @@
>  INLINE long
>  bio_writeout (DI *di, const void *buffer, ulong size, ulong sector)
>  {
> -	union { const void *cvb; void *b;} ptr; ptr.cvb = buffer;
> +	union { const void *cvb; void *b;} ptr = {buffer};	// ptr.cvb = buffer;
>  	register long r;

Huh ??

Why did you commit the above two changes to the freemint-1_17 stable
branch ???

Alan.