summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-04-16 17:34:38 +0200
committerLudovic Courtès <ludo@gnu.org>2020-04-16 18:33:21 +0200
commit82d8959e5d137b2061a68878d78a8f74a238ac44 (patch)
tree18021f7ae89f5f2f74c571fe104aa3f7b08208bc /doc
parent33f3fef383d066460b4bffc4b5af89b639cb55f3 (diff)
downloadpatches-82d8959e5d137b2061a68878d78a8f74a238ac44.tar
patches-82d8959e5d137b2061a68878d78a8f74a238ac44.tar.gz
syscalls: 'readdir*' chooses between the Linux and Hurd code at run time.
Partly fixes <https://bugs.gnu.org/40574>. Reported by Jan Nieuwenhuizen <janneke@gnu.org>. Previously, we'd choose at expansion time whether to use the Hurd or the Linux variant, taking the cross-compilation target into account. This would lead to the wrong decision when (guix build syscalls) is evaluated while we're cross-compiling to GNU/Hurd. This is a followup to 1ab9e483391f8b62b873833ea71cb0074efa03e7. * guix/build/syscalls.scm (define-generic-identifier) (read-dirent-header, %struct-dirent-header, sizeof-dirent-header): Remove. (readdir*): Rename to... (readdir-procedure): ... this, and add parameters. (readdir*): Define as a call to 'readdir-procedure' as a function of %HOST-TYPE.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions