summaryrefslogtreecommitdiff
path: root/module/system/vm/linker.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2024-04-15 19:48:10 +0200
committerLudovic Courtès <ludo@gnu.org>2024-04-15 19:58:25 +0200
commit696acfc9e590ecff70ff369460304e96b269efe5 (patch)
tree8681a47921281310b9d34f4c0214412c49a4d922 /module/system/vm/linker.scm
parent4a0c2433d97be9d995b3be74d90bc074d8efb5a7 (diff)
downloadguile-696acfc9e590ecff70ff369460304e96b269efe5.tar.gz
‘seek’ now accepts ‘SEEK_DATA’ and ‘SEEK_HOLE’ where supported.
* libguile/ports.c (scm_seek): Let SEEK_DATA and SEEK_HOLE through. (scm_init_ice_9_ports): Define ‘SEEK_DATA’ and ‘SEEK_HOLE’. * module/ice-9/ports.scm: Export ‘SEEK_DATA’ and ‘SEEK_HOLE’ when defined. * test-suite/tests/ports.test ("size of sparse file") ("SEEK_DATA while on data", "SEEK_DATA while in hole") ("SEEK_HOLE while in hole"): New tests. * NEWS: Update.
Diffstat (limited to 'module/system/vm/linker.scm')
0 files changed, 0 insertions, 0 deletions