Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b2a069c2
Commit
b2a069c2
authored
Jul 20, 2013
by
Paul Eggert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lread.c (Fload): Avoid initialization only when lint checking.
Mention that it's needed only for older GCCs.
parent
7e678093
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
src/ChangeLog
src/ChangeLog
+5
-0
src/lread.c
src/lread.c
+7
-2
No files found.
src/ChangeLog
View file @
b2a069c2
2013-07-20 Paul Eggert <eggert@cs.ucla.edu>
* lread.c (Fload): Avoid initialization only when lint checking.
Mention that it's needed only for older GCCs.
2013-07-20 Kenichi Handa <handa@gnu.org>
* coding.c (CODING_ISO_FLAG_LEVEL_4): New macro.
...
...
src/lread.c
View file @
b2a069c2
...
...
@@ -1044,7 +1044,7 @@ Return t if the file exists and loads successfully. */)
{
FILE
*
stream
;
int
fd
;
int
fd_index
=
0
;
int
fd_index
;
ptrdiff_t
count
=
SPECPDL_INDEX
();
struct
gcpro
gcpro1
,
gcpro2
,
gcpro3
;
Lisp_Object
found
,
efound
,
hist_file_name
;
...
...
@@ -1175,7 +1175,12 @@ Return t if the file exists and loads successfully. */)
#endif
}
if
(
fd
>=
0
)
if
(
fd
<
0
)
{
/* Pacify older GCC with --enable-gcc-warnings. */
IF_LINT
(
fd_index
=
0
);
}
else
{
fd_index
=
SPECPDL_INDEX
();
record_unwind_protect_int
(
close_file_unwind
,
fd
);
...
...
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