Fix bug with sendfile() on XNU

This commit is contained in:
Justine Tunney 2022-09-13 04:32:29 -07:00
parent 790c661317
commit 827f25f054
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
3 changed files with 26 additions and 12 deletions

View file

@ -637,7 +637,7 @@
(let ((default-directory root))
(save-buffer)
(cond ((memq major-mode '(c-mode c++-mode asm-mode fortran-mode))
(let* ((mode (cosmo--make-mode arg ""))
(let* ((mode (cosmo--make-mode arg "fastbuild"))
(compile-command (cosmo--compile-command this root 'test mode "" "" ".ok")))
(compile compile-command)))
('t
@ -653,7 +653,7 @@
(let ((default-directory root))
(save-buffer)
(cond ((memq major-mode '(c-mode c++-mode asm-mode fortran-mode))
(let* ((mode (cosmo--make-mode arg ""))
(let* ((mode (cosmo--make-mode arg "fastbuild"))
(compile-command (cosmo--compile-command this root 'run-win10 mode "" "" "")))
(compile compile-command)))
('t