• Russ Cox's avatar
    change string([]byte) to pass array, rather than &a[0], · 5383e28e
    Russ Cox authored
    to string convert.  if the byte array has length 0,
    the computation of &a[0] throws an index bounds error.
    
    for fixed size arrays, this ends up invoking arrays2d
    unnecessarily, but it works.
    
    R=ken
    DELTA=304  (44 added, 28 deleted, 232 changed)
    OCL=15674
    CL=15678
    5383e28e
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
pkg Loading commit data...
src Loading commit data...
test Loading commit data...
usr/gri Loading commit data...