Date: Sun, 23 Nov 2008 21:01:28 +0000 (UTC) From: David Malone <dwmalone@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/sys termios.h Message-ID: <200811232101.mANL1aUA033548@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
dwmalone 2008-11-23 21:01:28 UTC FreeBSD src repository Modified files: sys/sys termios.h Log: SVN rev 185233 on 2008-11-23 21:01:28Z by dwmalone Make the new CCEQ macro a little more like the old one - first do the comparison between c and val and then compare val to _POSIX_VDISABLE. This avoids comparing c (which is usually of type char) to _POSIX_VDISABLE (which has value 0xff and may not be representable as a char). Reviewed by: ed Revision Changes Path 1.25 +1 -1 src/sys/sys/termios.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811232101.mANL1aUA033548>