lvc@tut.cis.ohio-state.edu (Lawrence V. Cipriani) (01/20/88)
Comp.sources.misc: Volume 2, Issue 12 Submitted-By: Lawrence V. Cipriani <lvc@tut.cis.ohio-state.edu> Archive-Name: fs-analyzer/patch1 The system 5 file system analysis program contains 3 bugs in the definition of the IS_SPECIAL macro. It is defined at line 87 of the fsanalyze.c file. # define IS_SPECIAL(a) (((a) & S_IFMT == S_IFBLK) || ((a) & S_IFMT == S_IFCHR) || ((a) & S_IFMT == S_IFIFO)) It should be: # define IS_SPECIAL(a) ((((a) & S_IFMT) == S_IFBLK) || (((a) & S_IFMT) == S_IFCHR) || (((a) & S_IFMT) == S_IFIFO)) -- Larry Cipriani - using a guest account at lvc@tut.cis.ohio-state.edu a.k.a. ...!cbosgd!osu-cis!tut.cis.ohio-state.edu!lvc