aboutsummaryrefslogtreecommitdiffstats
path: root/src/emacs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emacs.c')
-rw-r--r--src/emacs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/emacs.c b/src/emacs.c
index bb2a0bb390f..b7dd52b1e4c 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -976,7 +976,10 @@ load_seccomp (const char *file)
976{ 976{
977 bool success = false; 977 bool success = false;
978 struct sock_fprog program = {0, NULL}; 978 struct sock_fprog program = {0, NULL};
979 FILE *stream = fopen (file, "rb"); 979 FILE *stream;
980 do
981 stream = fopen (file, "rb");
982 while (stream == NULL && errno == EINTR);
980 if (stream == NULL) 983 if (stream == NULL)
981 { 984 {
982 emacs_perror ("fopen"); 985 emacs_perror ("fopen");