Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
cd923f51
Commit
cd923f51
authored
Nov 26, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
a7c37ef1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
wcfs/internal/wcfs_misc.cpp
wcfs/internal/wcfs_misc.cpp
+2
-8
No files found.
wcfs/internal/wcfs_misc.cpp
View file @
cd923f51
...
...
@@ -133,14 +133,8 @@ error _File::_errno(const char *op) {
static
error
_pathError
(
const
char
*
op
,
const
string
&
path
,
int
syserr
)
{
char
ebuf
[
128
];
char
*
estr
=
strerror_r
(
syserr
,
ebuf
,
sizeof
(
ebuf
));
printf
(
"OP: '%s'
\n
"
,
op
);
printf
(
"PATH: '%s'
\n
"
,
path
.
c_str
());
printf
(
"ESTR: '%s'
\n
"
,
estr
);
//return fmt::errorf("%s %s: %s", op, path.c_str(), estr);
error
err
=
fmt
::
errorf
(
"%s %s: %s"
,
op
,
path
.
c_str
(),
estr
);
printf
(
"ERR: '%s'
\n
"
,
err
->
Error
().
c_str
());
return
err
;
return
fmt
::
errorf
(
"%s %s: %s"
,
op
,
path
.
c_str
(),
estr
);
}
}
// os::
...
...
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