projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b92897
)
* src/emacs.c (load_seccomp): Fix condition.
author
Philipp Stephani
<phst@google.com>
Sat, 10 Apr 2021 19:19:50 +0000
(21:19 +0200)
committer
Philipp Stephani
<phst@google.com>
Sat, 10 Apr 2021 21:04:04 +0000
(23:04 +0200)
src/emacs.c
patch
|
blob
|
history
diff --git
a/src/emacs.c
b/src/emacs.c
index cb1361fe46da002fbf29d917e8825c37e6890b13..1fecf1fa4b49fd990687bd088f022422ce89a622 100644
(file)
--- a/
src/emacs.c
+++ b/
src/emacs.c
@@
-1091,7
+1091,7
@@
load_seccomp (const char *file)
success = true;
out:
- if (
fd < 0
)
+ if (
0 <= fd
)
emacs_close (fd);
free (buffer);
return success;