[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master fails to build on FreeBSD when ACL support is on
From: |
Eli Zaretskii |
Subject: |
Re: master fails to build on FreeBSD when ACL support is on |
Date: |
Fri, 19 Jan 2018 17:33:30 +0200 |
> From: Joseph Mingrone <address@hidden>
> Cc: address@hidden, address@hidden, address@hidden
> Date: Fri, 19 Jan 2018 10:59:16 -0400
>
> > Thanks. Does the patch below solve the problem?
>
> > diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
> > index acba9e2..a0ab14f 100644
> > --- a/lisp/emacs-lisp/bytecomp.el
> > +++ b/lisp/emacs-lisp/bytecomp.el
> > @@ -1933,7 +1933,17 @@ byte-compile-file
> > ;; parallel bootstrap), it does not risk getting a
> > ;; half-finished file. (Bug#4196)
> > (tempfile
> > - (make-temp-file (file-name-nondirectory
> > target-file)))
> > + ;; If target-file is relative and includes
> > + ;; leading directories, make-temp-file will
> > + ;; assume those leading directories exist
> > + ;; under temporary-file-directory, which might
> > + ;; not be true. So strip leading directories
> > + ;; from relative file names before calling
> > + ;; make-temp-file.
> > + (if (file-name-absolute-p target-file)
> > + (make-temp-file target-file)
> > + (make-temp-file
> > + (file-name-nondirectory target-file))))
> > (default-modes (default-file-modes))
> > (temp-modes (logand default-modes #o600))
> > (desired-modes (logand default-modes #o666))
>
> It does. Thank you.
Thanks, I pushed it to the release branch, from which it will be
merged to master.
- master fails to build on FreeBSD when ACL support is on, Joseph Mingrone, 2018/01/16
- Re: master fails to build on FreeBSD when ACL support is on, Paul Eggert, 2018/01/16
- Re: master fails to build on FreeBSD when ACL support is on, Eli Zaretskii, 2018/01/16
- Re: master fails to build on FreeBSD when ACL support is on, Joseph Mingrone, 2018/01/18
- Re: master fails to build on FreeBSD when ACL support is on, Stefan Monnier, 2018/01/19
- Re: master fails to build on FreeBSD when ACL support is on, Eli Zaretskii, 2018/01/19
- Re: master fails to build on FreeBSD when ACL support is on, Stefan Monnier, 2018/01/19
- Re: master fails to build on FreeBSD when ACL support is on, Glenn Morris, 2018/01/19
- Re: master fails to build on FreeBSD when ACL support is on, Glenn Morris, 2018/01/20
- Re: master fails to build on FreeBSD when ACL support is on, Paul Eggert, 2018/01/20
- Re: master fails to build on FreeBSD when ACL support is on, Paul Eggert, 2018/01/19
- Re: master fails to build on FreeBSD when ACL support is on, Michael Albinus, 2018/01/20
- Re: master fails to build on FreeBSD when ACL support is on, Paul Eggert, 2018/01/20
- Re: master fails to build on FreeBSD when ACL support is on, Michael Albinus, 2018/01/21