lint and '&'

utzoo!decvax!ucbvax!unix-wizards utzoo!decvax!ucbvax!unix-wizards
Thu Sep 17 13:00:55 AEST 1981


>From day at RAND-UNIX Thu Sep 17 12:55:41 1981
Lint should warn you if an expression with
a bitwise AND operator (&) would be evaluated
differently if you put parentheses around
the '&' operation.  For example,
	if (statbuf.st_mode & S_IFMT == type)
should draw a warning.

--dave



More information about the Comp.unix.wizards mailing list