Hello Ricardo,
Ricardo Wurmus writes:
> Hi Maxim,
>
>> When raising a srfi-35 defined exception type like in the following, a
>> generic (and unhelpful) "Error while printing exception" message is
>> shown, with not even the exception type mentioned:
>>
>> (use-modules (srfi srfi-35))
>>
>> (def
On 14-01-2023 01:49, Matt Wette wrote:
Please consider this patch for adding mmap(), munmap() and msync()
to libguile/filesys.c. Included is update for posix.texi and test
file mman.test.
Once included, feature 'mman should be #t.
Matt
+ if (SCM_UNBNDP (fd))
+c_fd = -1;
+ else
On 1/14/23 2:42 PM, Maxime Devos wrote:
{
/* Use the fd of the port under clobber protection from
concurrency. As scm_dynwind_acquire_port assumes that
FILE is a port, check that first. */
SCM_VALIDATE_PORT (SCM_ARG5, file);
scm_dynwind_acquire_port (fil