diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-04-15 19:48:10 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-04-15 19:58:25 +0200 |
commit | 696acfc9e590ecff70ff369460304e96b269efe5 (patch) | |
tree | 8681a47921281310b9d34f4c0214412c49a4d922 /module/system/vm/linker.scm | |
parent | 4a0c2433d97be9d995b3be74d90bc074d8efb5a7 (diff) | |
download | guile-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