Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ecl
ecl
Commits
7ddb4ada
Commit
7ddb4ada
authored
Dec 25, 2020
by
Marius Gerbershagen
Browse files
error.d: FEcannot_open: improve error message
parent
f0afa57b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/c/error.d
View file @
7ddb4ada
...
...
@@ -234,9 +234,17 @@ FEreader_error(const char *s, cl_object stream, int narg, ...)
void
FEcannot_open
(
cl_object
fn
)
{
cl_error
(
3
,
@
'
file
-
error
'
,
@
'
:
pathname
'
,
fn
);
FEcannot_open
(
cl_object
file
)
{
cl_object
c_error
=
_ecl_strerror
(
errno
);
si_signal_simple_error
(
6
,
@
'
file
-
error
'
,
/* condition */
ECL_NIL
,
/* continuable */
ecl_make_constant_base_string
(
"Cannot open ~S.~%C library error: ~A"
,-
1
),
/* format */
cl_list
(
2
,
file
,
c_error
),
/* format args */
@
'
:
pathname
'
,
/* file-error options */
file
);
_ecl_unexpected_return
();
}
void
...
...
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