Ludovic Courtès 22ef06b801
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-18 11:38:48 +02:00
..
2017-01-28 18:55:20 +01:00
2017-05-03 23:50:15 +02:00
2017-03-18 00:38:41 +01:00
2017-04-17 23:05:46 +02:00
2017-05-03 16:16:17 +02:00
2017-05-11 16:17:49 +02:00
2017-05-03 16:16:17 +02:00
2017-05-15 22:33:17 +02:00
2017-05-03 16:16:17 +02:00
2017-05-02 04:19:09 -04:00
2017-04-17 23:31:28 +02:00
2017-05-03 16:16:17 +02:00
2017-05-03 16:16:17 +02:00
2017-04-18 23:17:17 +02:00