Skip to content

foldinfo.c:193:14: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses] #2

@dcb314

Description

@dcb314

Source code is

 accspooldir=(wwsdir=           /* world writable spool dir? */
    (((S_IWGRP|S_IXGRP|S_IWOTH|S_IXOTH)&stbuf.st_mode)==
     (S_IWGRP|S_IXGRP|S_IWOTH|S_IXOTH))
  <<1|                       /* note it in bit 1 */
  uid==stbuf.st_uid);      /* we own the spool dir, note it in bit 0 */

Suggest add some ( and ) someplace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions