Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/ufs/lfs
Tyler Retzlaff <rtr%omicron-persei-8.net@localhost> writes:
> YAMAMOTO Takashi wrote:
>
>>what i don't understand here is, why you think NULL initialization is
>>better wrt future bugs.
>>
> Would a dereference of the NULL ptr not cause immediate failure? As
> opposed to dereference of garbage ptr which may or may not fail
> immediately?
If a value is potentially used uninitialized, GCC should be able to
catch that, given the right flags. Are we not doing that here?
--
(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