]> granicus.if.org Git - procps-ng/commitdiff
8 bit patch added to watch
authorCraig Small <csmall@enc.com.au>
Thu, 1 Dec 2011 12:01:12 +0000 (23:01 +1100)
committerCraig Small <csmall@enc.com.au>
Thu, 1 Dec 2011 12:01:12 +0000 (23:01 +1100)
NEWS
watch.c

diff --git a/NEWS b/NEWS
index 564074878423e18a15d1548d8c14bb05c170ec93..7bbe169d7547426bfd4ec2c62df6ae156dbb4f4d 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,7 @@ procps-3.3.0 --> procps-ng-3.3.1
   * Fixed pgrep crashing
   * vmstat -p <part> finds partitions. Was Debian patch vmstat_part_format
     fixes closed bugs RH#485243 and Debian#588677
+  * watch 8-bit clean, Was Debian patch watch_8bitchar
 
 procps-3.2.8 --> procps-ng-3.3.0
 ------------------------------------------------------
diff --git a/watch.c b/watch.c
index 1e050dc6f81dd7ae4306e411024dfa5a7d79e57a..0b08d0b4f20eede306a7286f53f1b85490b26e2a 100644 (file)
--- a/watch.c
+++ b/watch.c
@@ -296,7 +296,7 @@ main(int argc, char *argv[])
                                move(y, x);
                                if (option_differences) {
                                        chtype oldch = inch();
-                                       char oldc = oldch & A_CHARTEXT;
+                                       unsigned char oldc = oldch & A_CHARTEXT;
                                        attr = !first_screen
                                            && ((char)c != oldc
                                                ||