projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8d542f
)
* src/emacs.c (load_seccomp): Consistently check for nonzero result
author
Philipp Stephani
<phst@google.com>
Mon, 14 Dec 2020 20:25:11 +0000
(21:25 +0100)
committer
Philipp Stephani
<phst@google.com>
Sun, 11 Apr 2021 20:15:03 +0000
(22:15 +0200)
src/emacs.c
patch
|
blob
|
history
diff --git
a/src/emacs.c
b/src/emacs.c
index 694d975ec3d7271c32785e10c2c205d7a3ddf580..362e4a2cc5acb608253195fa4d481ea01e70c38c 100644
(file)
--- a/
src/emacs.c
+++ b/
src/emacs.c
@@
-1079,7
+1079,7
@@
load_seccomp (const char *file)
file);
goto out;
}
- if (emacs_close (fd)
<
0)
+ if (emacs_close (fd)
!=
0)
emacs_perror ("close"); /* not a fatal error */
fd = -1;
program.len = count;