franz lisp (random) bug--really rand() bug
    Bruce Nemnich 
    bruce at godot.UUCP
       
    Thu Jun 14 12:32:15 AEST 1984
    
    
  
I just looked at the source, and (random) just calls rand(3) internally.
It is rand() which is alternating even and odd values.  random(3) doesn't
seem to have this problem, so I changed the call in 
/usr/src/ucb/lisp/franz/lam8.c to random().
-- 
--Bruce Nemnich, Thinking Machines Corporation, Waltham, MA
  {decvax!cca,ihnp4!mit-eddie,allegra!ias}!godot!bruce, BJN at MIT-MC.ARPA
    
    
More information about the Comp.bugs.4bsd.ucb-fixes
mailing list