This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Spurious fport_flush warnings: Resource not available
Gary Houston <ghouston@arglist.com> writes:
> | When using our fvwm2 module interface with Scwm, I get numerous spurious
> | and seemingly harmless warnings:
> |
> | ERROR: In procedure fport_flush:
> | ERROR: Resource temporarily unavailable
> |
> | This seems to be from the scm_syserror call at line 664 of fports.c
> | (from CVS guile today). I'd like to add code to ignore that case, but
> | I'm not sure if errno's are portable across platforms. Any thoughts?
>
> Use something like (and (defined? 'EPERM) (= errno EPERM)) in the
> error handler?
Well, the error message is printed in C code so I don't think that's an
option (unless I'm misunderstanding your suggestion).
> I'm curious why you'd get an error like that and what the errno
> symbolic value is. I don't recognise it in linux's
> /usr/include/asm/errno.h.
Unfortunately, I'm not getting them any more. :-(. I think the
disappearance correlated with a reboot of my machine, but don't recall
when they stopped showing up. If they come back, I'll get the numeric
value for you.
Thanks,
Greg