guix-devel/guix/build
Ludovic Courtès 36c99429a3
union: Gracefully handle dangling symlinks in the input.
Fixes <http://bugs.gnu.org/26949>.
Reported by Pjotr Prins <pjotr.public12@thebird.nl>.

* guix/build/union.scm (file-is-directory?): Return #f when FILE does
not exist or is a dangling symlink.
(file=?): Pass #f as a second argument to 'stat'; return #f when both
ST1 or ST2 is #f.
* tests/profiles.scm (test-equalm): New macro.
("union vs. dangling symlink"): New test.
2017-05-20 10:17:14 +02:00
..
ant-build-system.scm ant-build-system: Add default "check" target. 2017-05-10 17:59:22 +02:00
asdf-build-system.scm build-system: Add asdf-build-system. 2016-10-08 21:20:35 +08:00
bournish.scm bournish: 'ls' adjusts the column width depending on the entries. 2017-05-13 16:52:11 +02:00
cargo-build-system.scm build-system/cargo: Remove store reference. 2017-04-14 12:29:20 +02:00
cmake-build-system.scm guxi: cmake-build-system: Enable output for failing test-cases. 2016-11-15 22:40:25 +01:00
cvs.scm
download.scm download: Continue handshake upon TLS warning alerts. 2017-05-02 23:41:13 +02:00
dub-build-system.scm build: dub-build-system: Don't use "dub run" at all. 2017-02-14 10:18:35 +01:00
emacs-build-system.scm
emacs-utils.scm
git.scm
glib-or-gtk-build-system.scm
gnu-build-system.scm utils: Add helper method to make files writable. 2017-01-26 22:19:16 +01:00
gnu-dist.scm
graft.scm grafts: Remove unnecessary 'umask' call. 2016-10-17 23:59:03 +02:00
gremlin.scm
haskell-build-system.scm
hg.scm
java-utils.scm guix: Add java-utils. 2017-05-10 17:59:22 +02:00
lisp-utils.scm build-system: Add asdf-build-system. 2016-10-08 21:20:35 +08:00
make-bootstrap.scm guix: build: make-bootstrap: Copy "falloc.h" to the new system. 2017-02-27 15:31:06 +02:00
ocaml-build-system.scm gnu: Add ocaml-build-system. 2017-01-04 16:03:39 +01:00
perl-build-system.scm build-system/perl: Don't create non-deterministic 'perllocal.pod' files. 2016-11-28 23:11:39 +01:00
profiles.scm profiles: Slightly improve the instructions in 'etc/profile'. 2017-04-07 23:30:38 +02:00
pull.scm pull: Build package modules without optimizations on Guile 2.2. 2017-05-09 18:08:24 +02:00
python-build-system.scm build-system/python: Make sure 'check' returns failures. 2016-12-13 21:04:31 +01:00
qt-utils.scm
r-build-system.scm build: r-build-system: Use deterministic built date. 2017-02-02 15:20:50 +01:00
rpath.scm
ruby-build-system.scm
store-copy.scm
svn.scm
syscalls.scm syscalls: Add load-linux-module. 2017-04-11 11:13:26 +02:00
union.scm union: Gracefully handle dangling symlinks in the input. 2017-05-20 10:17:14 +02:00
utils.scm utils: Add helper method to make files writable. 2017-01-26 22:19:16 +01:00
waf-build-system.scm