Source-Changes archive

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

Re: CVS commit: src/sys/arch/xen/xen



YAMAMOTO Takashi <yamt%netbsd.org@localhost> writes:

> Module Name:  src
> Committed By: yamt
> Date:         Tue Jul 19 09:45:12 UTC 2005
>
> Modified Files:
>       src/sys/arch/xen/xen: xbdback.c
>
> Log Message:
> xbdback_co_main_loop: don't forget to set xbdi->cont in the case of error.

Argh; I thought I'd fixed all of those.

(FWIW, I considered making the function pointer the thing returned, so
I could get warnings from cc for a missing return in that case -- but
I felt at the time that that would make things more ugly on the whole,
because I'd need to indicate suspension some other way.)


-- 
(let ((C call-with-current-continuation)) (apply (lambda (x y) (x y)) (map
((lambda (r) ((C C) (lambda (s) (r (lambda l (apply (s s) l))))))  (lambda
(f) (lambda (l) (if (null? l) C (lambda (k) (display (car l)) ((f (cdr l))
(C k)))))))    '((#\J #\d #\D #\v #\s) (#\e #\space #\a #\i #\newline)))))




Home | Main Index | Thread Index | Old Index