Custom Query (1630 matches)
Results (37 - 39 of 1630)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#678 | worksforme | bug in specialized-io egg | ||
Description |
The foreign code should probably be declared to return (define write-one-char (lambda (c port) (if (fx= 1 ((foreign-lambda* void ((char var) (scheme-object port)) "#include <stdio.h> \n" "if (fputc (var, C_port_file(port)) == EOF)" " return(1);" "else" " return(0);") c port)) (specialized-io-error "write-one-char: failed!")))) |
|||
#696 | worksforme | Stock 4.7.0 chicken cannot compile current trunk | ||
Description |
When attempting to compile Syntax error (import): cannot import from undefined module scheme Expansion history: <syntax> (##core#begin (module setup-api ((run execute) compile standard-extension make make/proc host-extens...... <syntax> (module setup-api ((run execute) compile standard-extension make make/proc host-extension install-ex...... <syntax> (##core#module setup-api ((run execute) compile standard-extension make make/proc host-extension ins...... <syntax> (import scheme chicken foreign irregex utils posix ports extras data-structures srfi-1 srfi-13 files...... <--
The workaround is to recompile these files using the |
|||
#707 | worksforme | ##sys#file-info needs to signal an error if the fstat syscall goes bad | ||
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? |