[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SCM_SYSCALL
From: |
Ludovic Courtès |
Subject: |
Re: SCM_SYSCALL |
Date: |
Wed, 17 Jul 2013 18:04:51 +0200 |
User-agent: |
Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux) |
address@hidden (Ludovic Courtès) skribis:
> We have this (since 2010):
>
> # define SCM_SYSCALL(line) \
> do \
> { \
> errno = 0; \
> line; \
> if (errno == EINTR) \
> { \
> SCM_ASYNC_TICK; \
> continue; \
> } \
> } \
> while(0)
>
> It turns out that the effect upon EINTR is to leave the loop. So
> typically, fport_fill_input just throws to system-error and reveals the
> EINTR, contrary to SCM_SYSCALL intends to do.
Fixed in fe51c7b.
Thanks,
Ludo’.
- Re: SCM_SYSCALL,
Ludovic Courtès <=