Carl Miller wrote:
On Sat, Jan 16, 2010 at 05:09:45AM +0000, Clint Adams wrote:
You mean something like this?

-         && (d->header.c_dev_min == min) )
+         && (d->header.c_dev_min == min)
+         && ((d->header.c_mode & CP_IFBLK) != CP_IFBLK)
+         && ((d->header.c_mode & CP_IFCHR) != CP_IFCHR) )

These tests should look like:

  (d->header.c_mode & CP_IFMT) != CP_IFBLK

Note the use of CP_IFMT to mask the file type
(which is a four-bit field).

Cheers,

Tim



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to