Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
a1f17b2d
Commit
a1f17b2d
authored
Jan 08, 1994
by
Roland McGrath
Browse files
(report_file_error): Use strerror instead of sys_errlist.
parent
03c71d89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
src/fileio.c
src/fileio.c
+1
-4
No files found.
src/fileio.c
View file @
a1f17b2d
...
...
@@ -137,10 +137,7 @@ report_file_error (string, data)
{
Lisp_Object errstring;
if (errno >= 0 && errno < sys_nerr)
errstring = build_string (sys_errlist[errno]);
else
errstring = build_string ("undocumented error code");
errstring = build_string (strerror (errno));
/* System error messages are capitalized. Downcase the initial
unless it is followed by a slash. */
...
...
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