Removed message argument form errno-error.

This commit is contained in:
mainzelm 2003-05-12 12:52:13 +00:00
parent 7bc10a0d0e
commit 29258b6adc
3 changed files with 7 additions and 11 deletions

View File

@ -7,9 +7,11 @@
(define syscall-error? (condition-predicate 'syscall-error)) (define syscall-error? (condition-predicate 'syscall-error))
(define (errno-error errno msg syscall . stuff) (define (errno-error errno syscall . stuff)
(apply signal 'syscall-error errno msg syscall stuff)) (apply errno-error-with-message errno (errno-msg errno) syscall stuff))
(define (errno-error-with-message errno msg syscall . stuff)
(apply signal 'syscall-error errno msg syscall stuff))
(define (with-errno-handler* handler thunk) (define (with-errno-handler* handler thunk)
(with-handler (with-handler

View File

@ -103,13 +103,6 @@
(open scheme) (open scheme)
(files scsh-version)) (files scsh-version))
(define-structure scsh-errors scsh-errors-interface
(open scheme
architecture
(subset srfi-1 (last drop-right))
handle conditions signals)
(files scsh-condition))
(define-structure scsh-endian scsh-endian-interface (define-structure scsh-endian scsh-endian-interface
(open scheme (open scheme
bitwise) bitwise)
@ -194,6 +187,7 @@
handle handle
fluids thread-fluids fluids thread-fluids
weak-tables weak-tables
(subset srfi-1 (last drop-right))
srfi-14 srfi-14
; scsh-regexp-package ; scsh-regexp-package
@ -239,7 +233,6 @@
simple-syntax simple-syntax
exit-hooks exit-hooks
scsh-errors
scsh-endian) scsh-endian)
(for-syntax (open scsh-syntax-helpers scheme)) (for-syntax (open scsh-syntax-helpers scheme))
(access interrupts (access interrupts
@ -253,6 +246,7 @@
records ; I don't think this is necessary. !!! records ; I don't think this is necessary. !!!
scheme) ; For accessing the normal I/O operators. scheme) ; For accessing the normal I/O operators.
(files syntax (files syntax
scsh-condition
syscalls syscalls
fname fname
rw rw

View File

@ -49,7 +49,7 @@
(continuation-graft (continuation-graft
cont cont
(lambda () (lambda ()
(apply errno-error (apply errno-error-with-message
(cadr stuff) ; errno (cadr stuff) ; errno
(caddr stuff) ;msg (caddr stuff) ;msg
syscall syscall