aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThierry Volpiatto2019-11-21 21:01:53 +0100
committerThierry Volpiatto2019-11-21 21:01:53 +0100
commit86d8d9589370e8786c2cb245dad8527494009ac2 (patch)
tree7cee88add34b97cc12396528263db85490f025b2 /src
parent5a62c4b49ca1ac45d576f55d266750b7d1d6668a (diff)
parent6c9c45bfabaa06bd604c95e194102143b87f700e (diff)
downloademacs-86d8d9589370e8786c2cb245dad8527494009ac2.tar.gz
emacs-86d8d9589370e8786c2cb245dad8527494009ac2.zip
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs
Diffstat (limited to 'src')
-rw-r--r--src/kqueue.c4
-rw-r--r--src/sysdep.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/kqueue.c b/src/kqueue.c
index 76d7fc1ecbd..1383d7d3654 100644
--- a/src/kqueue.c
+++ b/src/kqueue.c
@@ -414,7 +414,7 @@ only when the upper directory of the renamed file is watched. */)
414 } 414 }
415 415
416 /* Open file. */ 416 /* Open file. */
417 file = ENCODE_FILE (file); 417 Lisp_Object encoded_file = ENCODE_FILE (file);
418 oflags = O_NONBLOCK; 418 oflags = O_NONBLOCK;
419#if O_EVTONLY 419#if O_EVTONLY
420 oflags |= O_EVTONLY; 420 oflags |= O_EVTONLY;
@@ -426,7 +426,7 @@ only when the upper directory of the renamed file is watched. */)
426#else 426#else
427 oflags |= O_NOFOLLOW; 427 oflags |= O_NOFOLLOW;
428#endif 428#endif
429 fd = emacs_open (SSDATA (file), oflags, 0); 429 fd = emacs_open (SSDATA (encoded_file), oflags, 0);
430 if (fd == -1) 430 if (fd == -1)
431 report_file_error ("File cannot be opened", file); 431 report_file_error ("File cannot be opened", file);
432 432
diff --git a/src/sysdep.c b/src/sysdep.c
index e34ab2eb587..b436bfe74a8 100644
--- a/src/sysdep.c
+++ b/src/sysdep.c
@@ -167,7 +167,7 @@ maybe_disable_address_randomization (int argc, char **argv)
167 { 167 {
168 /* If dumping via unexec, ASLR must be disabled, as otherwise 168 /* If dumping via unexec, ASLR must be disabled, as otherwise
169 data may be scattered and undumpable as a simple executable. 169 data may be scattered and undumpable as a simple executable.
170 If pdumping, disabling ASLR makes the .pdmp file reproducible. */ 170 If pdumping, disabling ASLR lessens differences in the .pdmp file. */
171 bool disable_aslr = will_dump_p (); 171 bool disable_aslr = will_dump_p ();
172# ifdef __PPC64__ 172# ifdef __PPC64__
173 disable_aslr = true; 173 disable_aslr = true;