This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Spurious fport_flush warnings: Resource not available


| 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?

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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]