[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: Mark /gnu/store as needed for boot.
From: |
John Darrington |
Subject: |
Re: [PATCH] gnu: Mark /gnu/store as needed for boot. |
Date: |
Sun, 15 Jan 2017 12:18:36 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Sun, Jan 15, 2017 at 10:53:02AM +0100, David Craven wrote:
> will erroneously return #t when (file-system-mount-point fs) evaluates
> to "/gn" and (%store-directory) to "/gnu/store". Will it not???
The trick is to revert the arguments:
(string-prefix? (%store-directory) (file-system-mount-point fs))
No that will also be wrong.
(string-prefix? "/gnu/store" "/gnu") => #f
I think the procedure I wrote does it correctly.
J'
--
Avoid eavesdropping. Send strong encrypted email.
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.
signature.asc
Description: Digital signature
- [PATCH] gnu: Mark /gnu/store as needed for boot., John Darrington, 2017/01/11
- [PATCH] gnu: Mark /gnu/store as needed for boot., John Darrington, 2017/01/11
- Re: [PATCH] gnu: Mark /gnu/store as needed for boot., Chris Marusich, 2017/01/13
- Re: [PATCH] gnu: Mark /gnu/store as needed for boot., Ludovic Courtès, 2017/01/14
- Re: [PATCH] gnu: Mark /gnu/store as needed for boot., Ludovic Courtès, 2017/01/15
- Re: [PATCH] gnu: Mark /gnu/store as needed for boot., John Darrington, 2017/01/16
- Re: [PATCH] gnu: Mark /gnu/store as needed for boot., Ludovic Courtès, 2017/01/16
- ABI break!, Ludovic Courtès, 2017/01/17
- Re: ABI break!, John Darrington, 2017/01/18
- Re: ABI break!, David Craven, 2017/01/18
- Re: ABI break!, Ludovic Courtès, 2017/01/18