From: law Date: Thu, 19 Nov 1998 21:17:54 +0000 (+0000) Subject: * mpw.c (mpw_access): Add missing parens. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9fdb1080e6a3fe2d0eee6d6a4d0207ee37ee04ba;p=platform%2Fupstream%2Flinaro-gcc.git * mpw.c (mpw_access): Add missing parens. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23726 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 3c0c2da..aca683d 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com) + + * mpw.c (mpw_access): Add missing parens. + Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi * configure.in: Call AC_HEADER_SYS_WAIT. diff --git a/libiberty/mpw.c b/libiberty/mpw.c index 59c06ba..ca3ae41 100644 --- a/libiberty/mpw.c +++ b/libiberty/mpw.c @@ -705,9 +705,9 @@ mpw_access (char *filename, unsigned int cmd) errnum = errno; if (rslt >= 0) { - if (((st.st_mode & 004 == 0) && (cmd & R_OK)) - || ((st.st_mode & 002 == 0) && (cmd & W_OK)) - || ((st.st_mode & 001 == 0) && (cmd & X_OK))) + if ((((st.st_mode & 004) == 0) && (cmd & R_OK)) + || (((st.st_mode & 002) == 0) && (cmd & W_OK)) + || (((st.st_mode & 001) == 0) && (cmd & X_OK))) { rslt = -1; errnum = EACCES;