Ludovic Courtès, le lun. 21 avril 2025 16:59:03 +0200, a ecrit:
> Samuel Thibault writes:
> > dev_read starts with if (err) return err;. Various functions do not
> > define their own err variable. I don't know the original reason for
> > this, but this looks fishy to me, and local variables should
Samuel Thibault writes:
> dev_read starts with if (err) return err;. Various functions do not
> define their own err variable. I don't know the original reason for
> this, but this looks fishy to me, and local variables should probably
> always be used, patch welcome.
I wondered about that: acce
Ludovic Courtès, le lun. 21 avril 2025 00:59:00 +0200, a ecrit:
> Samuel Thibault writes:
>
> > Ludovic Courtès, le dim. 20 avril 2025 17:40:02 +0200, a ecrit:
> >> What happens here is that reading from /dev/klog (opened with
> >> O_NONBLOCK) returns ED_WOULD_BLOCK. However Guile and its concur
Hey,
Samuel Thibault writes:
> Ludovic Courtès, le dim. 20 avril 2025 17:40:02 +0200, a ecrit:
>> What happens here is that reading from /dev/klog (opened with
>> O_NONBLOCK) returns ED_WOULD_BLOCK. However Guile and its concurrency
>> framework (Fibers) don’t know about this error, hence the (