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: Two unexpected test failures.


> Date: Fri, 31 Mar 2000 09:24:05 +0200 (MEST)
> From: Dirk Herrmann <dirk@ida.ing.tu-bs.de>
> 
> system-error
> ("fport_fill_input" "~A" ("Resource temporarily unavailable") (0))
> 11
> 11
> 
> 
> Thanks for your efforts!

Futile so far, but I have another theory.  Could you try
applying this patch in libguile and running the last test again?

--- error.c     2000/03/29 01:57:54     1.44
+++ error.c     2000/03/31 19:01:44
@@ -140,11 +140,13 @@
 void
 scm_syserror (const char *subr)
 {
+  int save_errno = errno;
+  
   scm_error (scm_system_error_key,
             subr,
             "~A",
-            scm_cons (scm_makfrom0str (strerror (errno)), SCM_EOL),
-            scm_cons (SCM_MAKINUM (errno), SCM_EOL));
+            scm_cons (scm_makfrom0str (strerror (save_errno)), SCM_EOL),
+            scm_cons (SCM_MAKINUM (save_errno), SCM_EOL));
 }
 
 void

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