chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #707: ##sys#file-info needs to signal an error if the


From: Chicken Trac
Subject: [Chicken-janitors] #707: ##sys#file-info needs to signal an error if the fstat syscall goes bad
Date: Wed, 28 Sep 2011 19:47:59 -0000

#707: ##sys#file-info needs to signal an error if the fstat syscall goes bad
----------------------------+-----------------------------------------------
 Reporter:  ckeen           |       Owner:       
     Type:  defect          |      Status:  new  
 Priority:  major           |   Milestone:  4.8.0
Component:  core libraries  |     Version:  4.7.x
 Keywords:                  |  
----------------------------+-----------------------------------------------
 I think it is bad style to ignore the errno error signalling mechanism
 when doing syscalls. Bug #706 shows that this can result in serious
 mischief.

 ##sys#file-info is the first culprit that I have identified, but I suspect
 all runtime calls lack a error propagation mechanism.

 Maybe a more general approach on how to do this is needed.
 At the time of writing this I am favoring raising exn i/o conditions for
 the exceptional cases. Also would these calls be reentrant?

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/707>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]