Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
59b67c11
Commit
59b67c11
authored
Nov 19, 1998
by
Jeffrey A Law
Committed by
Jeff Law
Nov 19, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* mpw.c (mpw_access): Add missing parens.
From-SVN: r23726
parent
dd8f3ed5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
libiberty/ChangeLog
+4
-0
libiberty/mpw.c
+3
-3
No files found.
libiberty/ChangeLog
View file @
59b67c11
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 <ghazi@caip.rutgers.edu>
* configure.in: Call AC_HEADER_SYS_WAIT.
...
...
libiberty/mpw.c
View file @
59b67c11
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment