Hello,

On Sun, Jun 29, 2014 at 11:12 PM, Boris Faure <[email protected]> wrote:
> billiob pushed a commit to branch master.
>
> http://git.enlightenment.org/core/efl.git/commit/?id=3d36d65dd8efa28e78a1a78d49fa36abc25ab415
>
> commit 3d36d65dd8efa28e78a1a78d49fa36abc25ab415
> Author: Boris Faure <[email protected]>
> Date:   Sun Jun 29 23:11:15 2014 +0200
>
>     lz4: fix shadow issue
>
>     @fix
> ---
>  src/static_libs/lz4/lz4.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/static_libs/lz4/lz4.c b/src/static_libs/lz4/lz4.c
> index a1475dc..824f551 100644
> --- a/src/static_libs/lz4/lz4.c
> +++ b/src/static_libs/lz4/lz4.c
> @@ -983,9 +983,9 @@ FORCE_INLINE int LZ4_decompress_generic(
>                  copySize = length+MINMATCH - copySize;
>                  if (copySize > (size_t)((char*)op-dest))   /* overlap */
>                  {
> -                    BYTE* const cpy = op + copySize;
> -                    const BYTE* ref = (BYTE*)dest;
> -                    while (op < cpy) *op++ = *ref++;
> +                    BYTE* const cpy2 = op + copySize;
> +                    const BYTE* ref2 = (BYTE*)dest;
> +                    while (op < cpy2) *op++ = *ref2++;
>                  }
>                  else
>                  {

I am not sure if we want this as it is a divergence from lz4 base
code. Or maybe we should upstream this patch. Don't know. Wondering.
-- 
Cedric BAIL

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to