Text File

Aucbvax.3184 fa.unix-wizards utzoo!decvax!ucbvax!unix-wizards Thu Sep 17 13:00:55 1981 lint and '&' >From day@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

----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen <jgoerzen@complete.org> of http://communication.ucsd.edu/A-News/

This Usenet Oldnews Archive article may be copied and distributed freely, provided:

1. There is no money collected for the text(s) of the articles.

2. The following notice remains appended to each copy:

The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.