• Bug#207103: procps: Fix

    From Dmitry Rutsky@1:229/2 to All on Mon Aug 16 08:10:09 2004
    From: [email protected]

    Package: procps
    Version: 1:3.2.2-2
    Followup-For: Bug #207103

    ====
    --- watch.orig.c 2004-08-16 09:17:19.000000000 +0400
    +++ watch.c 2004-08-16 09:17:29.000000000 +0400
    @@ -250,7 +250,7 @@
    move(y, x);
    if (option_differences) {
    int oldch = inch();
    - char oldc = oldch & A_CHARTEXT;
    + unsigned char oldc = oldch & A_CHARTEXT;
    attr = !first_screen
    && (c != oldc
    ||
    ====

    This is a very common type of bug in C code, it affects only characters with 8th
    bit set, such as umlauts.

    -- System Information:
    Debian Release: 3.1
    APT prefers unstable
    APT policy: (500, 'unstable')
    Architecture: i386 (i686)
    Kernel: Linux 2.6.7
    Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R

    Versions of packages procps depends on:
    ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an ii libncurses5 5.4-4 Shared libraries for terminal hand

    -- no debconf information


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? C