[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#45021] [PATCH 1/2] image: Add system field.
From: |
Danny Milosavljevic |
Subject: |
[bug#45021] [PATCH 1/2] image: Add system field. |
Date: |
Fri, 4 Dec 2020 10:01:10 +0100 |
Hi Mathieu,
On Fri, 04 Dec 2020 09:12:13 +0100
Mathieu Othacehe <othacehe@gnu.org> wrote:
> I used "eq?" because if "system" is left to its default in some image
> definition, then we would end-up comparing "#f" and a string.
Yeah, but eq? only compares the "addresses" of things, not the content.
(eq? "a" "a") could totally be #f if one is unlucky.
For example try:
(eq? "a" (read))
and enter "a". The result will be #f.
On the other hand, (equal? "a" "a") would work; also (equal? "a" #f) would
not fail.
pgpHOL4IRWydh.pgp
Description: OpenPGP digital signature
[bug#45022] [PATCH 2/2] image: Rename "raw" image-type to "efi-raw"., Mathieu Othacehe, 2020/12/03
[bug#45020] [PATCH 0/2] image: Add system field., zimoun, 2020/12/03
[bug#45020] [PATCH 0/2] image: Add system field., Efraim Flashner, 2020/12/09
[bug#45020] [PATCH 0/2] image: Add system field., Ludovic Courtès, 2020/12/11