[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65036: [PATCH] syscalls: Consistently use existing linux? definition
From: |
Ludovic Courtès |
Subject: |
bug#65036: [PATCH] syscalls: Consistently use existing linux? definition |
Date: |
Tue, 15 Aug 2023 00:07:21 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi,
soeren@soeren-tempel.net skribis:
> From: Sören Tempel <soeren@soeren-tempel.net>
>
> Instead of duplicating this existing logic across the source file. This
> will make it easier to add additional linux targets (e.g. linux-musl) in
> the future.
>
> * guix/build/syscalls.scm (readdir*): Use linux? constant.
> * guix/build/syscalls.scm (write-socket-address!): Use linux? constant.
> * guix/build/syscalls.scm (read-socket-address): Use linux? constant.
>
> Signed-off-by: Sören Tempel <soeren@soeren-tempel.net>
Applied and tweaked the commit log. Thanks!
Ludo’.