rpms/htop/EL-5 htop-0.8.1-nonprint.patch,NONE,1.1
Adam Miller
maxamillion at fedoraproject.org
Tue Nov 18 15:35:30 UTC 2008
Author: maxamillion
Update of /cvs/extras/rpms/htop/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17313
Added Files:
htop-0.8.1-nonprint.patch
Log Message:
forgot to add the patch to cvs
htop-0.8.1-nonprint.patch:
--- NEW FILE htop-0.8.1-nonprint.patch ---
--- RichString.c.orig 2008-03-09 03:23:49.000000000 +0100
+++ RichString.c 2008-11-18 12:30:21.000000000 +0100
@@ -89,7 +89,7 @@
inline void RichString_appendn(RichString* this, int attrs, char* data_c, int len) {
int last = MIN(RICHSTRING_MAXLEN - 1, len + this->len);
for (int i = this->len, j = 0; i < last; i++, j++)
- this->chstr[i] = data_c[j] | attrs;
+ this->chstr[i] = ((data_c[j] > 31) ? data_c[j] : '?' ) | attrs;
this->chstr[last] = 0;
this->len = last;
}
More information about the scm-commits
mailing list