PERFORCE change 150525 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Fri Sep 26 19:32:04 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=150525
Change 150525 by hselasky at hselasky_laptop001 on 2008/09/26 19:31:36
Add more text-filtering.
Affected files ...
.. //depot/projects/usb/src/sys/dev/usb2/core/usb2_request.c#18 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/usb2/core/usb2_request.c#18 (text+ko) ====
@@ -735,8 +735,11 @@
*s = '.';
}
- /* filter by default ! */
- if (!isprint(*s)) {
+ /*
+ * Filter by default - we don't allow greater and less than
+ * signs because they might confuse the dmesg printouts!
+ */
+ if ((*s == '<') || (*s == '>') || (!isprint(*s))) {
*s = '.';
}
s++;
More information about the p4-projects
mailing list