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
29b129b8
Commit
29b129b8
authored
Mar 30, 2019
by
Eric Botcazou
Committed by
Eric Botcazou
Mar 30, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* src/c++17/fs_ops.cc (fs::permissions): Use std::errc::not_supported.
From-SVN: r270033
parent
09062aa4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
libstdc++-v3/ChangeLog
+4
-0
libstdc++-v3/src/c++17/fs_ops.cc
+1
-1
No files found.
libstdc++-v3/ChangeLog
View file @
29b129b8
2019-03-30 Eric Botcazou <ebotcazou@adacore.com>
* src/c++17/fs_ops.cc (fs::permissions): Use std::errc::not_supported.
2019-03-28 Ville Voutilainen <ville.voutilainen@gmail.com>
Don't revisit a variant we are already visiting.
...
...
libstdc++-v3/src/c++17/fs_ops.cc
View file @
29b129b8
...
...
@@ -1127,7 +1127,7 @@ fs::permissions(const path& p, perms prms, perm_options opts,
err
=
errno
;
#else
if
(
nofollow
&&
is_symlink
(
st
))
ec
=
std
::
make_error_code
(
std
::
errc
::
operation_
not_supported
);
ec
=
std
::
make_error_code
(
std
::
errc
::
not_supported
);
else
if
(
posix
::
chmod
(
p
.
c_str
(),
static_cast
<
mode_t
>
(
prms
)))
err
=
errno
;
#endif
...
...
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