mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 12:40:45 -04:00
- Remove upstream-ed diff[1] - fix missing dependency on makeinfo[2] PR: 216841[1] 214892[2] Submitted by: ashish[1] freebsd@skinc.ru[2]
12 lines
379 B
C
12 lines
379 B
C
--- libguile/filesys.c.orig 2017-02-06 04:37:29 UTC
|
|
+++ libguile/filesys.c
|
|
@@ -1486,6 +1486,9 @@ SCM_DEFINE (scm_i_mkstemp, "mkstemp!", 1
|
|
mode_bits = scm_i_mode_bits (mode);
|
|
}
|
|
|
|
+#ifdef __FreeBSD__
|
|
+ open_flags &= O_APPEND | O_DIRECT | O_SHLOCK | O_EXLOCK | O_CLOEXEC;
|
|
+#endif
|
|
SCM_SYSCALL (rv = mkostemp (c_tmpl, open_flags));
|
|
if (rv == -1)
|
|
SCM_SYSERROR;
|