Package: biew Version: 5.6.2-1 Followup-For: Bug #318524 Here's a patch which fixes the problem.
-- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.11 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages biew depends on: ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libncurses5 5.4-8 Shared libraries for terminal hand biew recommends no packages. -- no debconf information
diff -urp biew-5.6.2/biewlib/sysdep/ia16/cmn_ix86.c biewlib/sysdep/ia16/cmn_ix86.c --- biew-5.6.2/biewlib/sysdep/ia16/cmn_ix86.c 2003-03-27 07:19:30.000000000 +0100 +++ biewlib/sysdep/ia16/cmn_ix86.c 2005-08-03 09:11:12.000000000 +0200 @@ -47,7 +47,7 @@ static unsigned long __NEAR__ __FASTCALL ctrl_arr = c_arr; /* align pointer on 16-byte boundary */ - if((tUInt32)ctrl_arr & 15) ((tUInt32)ctrl_arr) += 16-((tUInt32)ctrl_arr&15); + if((tUInt32)ctrl_arr & 15) ctrl_arr = ((tUInt32)ctrl_arr) + 16-((tUInt32)ctrl_arr&15); memset(ctrl_arr,0,sizeof(ctrl_arr)); if(time_interval) diff -urp biew-5.6.2/biewlib/sysdep/ia32/aclib_template.c biewlib/sysdep/ia32/aclib_template.c --- biew-5.6.2/biewlib/sysdep/ia32/aclib_template.c 2002-12-13 16:31:20.000000000 +0100 +++ biewlib/sysdep/ia32/aclib_template.c 2005-08-03 09:10:01.000000000 +0200 @@ -209,8 +209,8 @@ static void * RENAME(fast_memcpy)(void * MOVNTQ" %%mm6, 48(%1)\n" MOVNTQ" %%mm7, 56(%1)\n" :: "r" (from), "r" (to) : "memory"); - ((const unsigned char *)from)+=64; - ((unsigned char *)to)+=64; + from=((const unsigned char *)from)+64; + to=((unsigned char *)to)+64; } // Pure Assembly cuz gcc is a bit unpredictable ;) @@ -297,8 +297,8 @@ static void * RENAME(fast_memcpy)(void * MOVNTQ" %%mm6, 48(%1)\n" MOVNTQ" %%mm7, 56(%1)\n" :: "r" (from), "r" (to) : "memory"); - ((const unsigned char *)from)+=64; - ((unsigned char *)to)+=64; + from=((const unsigned char *)from)+64; + to=((unsigned char *)to)+64; } #endif /* Have SSE */ @@ -393,7 +393,7 @@ static void * RENAME(fast_memset)(void * MOVNTQ" %%mm0, 112(%0)\n" MOVNTQ" %%mm0, 120(%0)\n" :: "r" (to) : "memory"); - ((unsigned char *)to)+=128; + to=((unsigned char *)to)+128; } #endif /* Have SSE */ #ifdef HAVE_MMX2