Author: kkaempf Date: Tue May 5 16:09:45 2009 New Revision: 57074 URL: http://svn.opensuse.org/viewcvs/yast?rev=57074&view=rev Log: follow gcc's advice and put ( ) around & operands Modified: trunk/core/liby2/src/Y2CCProgram.cc Modified: trunk/core/liby2/src/Y2CCProgram.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/core/liby2/src/Y2CCProgram.cc?rev=57074&r1=57073&r2=57074&view=diff ============================================================================== --- trunk/core/liby2/src/Y2CCProgram.cc (original) +++ trunk/core/liby2/src/Y2CCProgram.cc Tue May 5 16:09:45 2009 @@ -80,7 +80,7 @@ { // Check at least if it is executable (for others) and // if it is a regular file. - if (S_ISREG (buf.st_mode) && (buf.st_mode & S_IXOTH == S_IXOTH)) { + if (S_ISREG (buf.st_mode) && ((buf.st_mode & S_IXOTH) == S_IXOTH)) { if (!root.empty ()) file = file.substr (root.length ()); return new Y2ProgramComponent (root, file.c_str (), name, -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org