fixed char encoding error message and condition as per bug 243662.
This commit is contained in:
parent
45346ef865
commit
1cd581de70
|
@ -1940,7 +1940,7 @@
|
||||||
[(ignore) (void)]
|
[(ignore) (void)]
|
||||||
[(replace) (put-char p #\?)]
|
[(replace) (put-char p #\?)]
|
||||||
[(raise)
|
[(raise)
|
||||||
(raise (make-i/o-encoding-error p))]
|
(raise (make-i/o-encoding-error p (integer->char b)))]
|
||||||
[else (die who "BUG: invalid die handling mode" p)])]))
|
[else (die who "BUG: invalid die handling mode" p)])]))
|
||||||
(define (put-char-char-mode p c who)
|
(define (put-char-char-mode p c who)
|
||||||
(flush-output-port p)
|
(flush-output-port p)
|
||||||
|
|
|
@ -255,7 +255,7 @@
|
||||||
(if (pair? ls)
|
(if (pair? ls)
|
||||||
(let-values ([(m p) (f (cdr ls) (- n 1))])
|
(let-values ([(m p) (f (cdr ls) (- n 1))])
|
||||||
(values (cons (car ls) m) p))
|
(values (cons (car ls) m) p))
|
||||||
(die 'record-condtructor "insufficient arguments"
|
(die 'record-constructor "insufficient arguments"
|
||||||
all-fields)))))
|
all-fields)))))
|
||||||
|
|
||||||
(define (constructor main-rtd size prcd proto)
|
(define (constructor main-rtd size prcd proto)
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
1522
|
1523
|
||||||
|
|
Loading…
Reference in New Issue