Summary

##sys#file-info needs to signal an error if the fstat syscall goes bad

Metadata

Description

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?

Changes and comments

[2011-11-03 14:42:54 UTC] felix changed status from new to closed

[2011-11-03 14:42:54 UTC] felix set resolution to worksforme

[2012-09-24 21:47:48 UTC] felix changed milestone from 4.8.0 to 4.9.0

[2012-09-24 21:47:48 UTC] felix wrote:

Milestone 4.8.0 deleted