• 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
..
bugs Loading commit data...
chan Loading commit data...
fixedbugs Loading commit data...
ken Loading commit data...
235.go Loading commit data...
args.go Loading commit data...
bufiolib.go Loading commit data...
char_lit.go Loading commit data...
complit.go Loading commit data...
const.go Loading commit data...
dialgoogle.go Loading commit data...
env.go Loading commit data...
errchk Loading commit data...
float_lit.go Loading commit data...
fmt_test.go Loading commit data...
for.go Loading commit data...
func.go Loading commit data...
func1.go Loading commit data...
golden.out Loading commit data...
hashmap.go Loading commit data...
helloworld.go Loading commit data...
if.go Loading commit data...
if1.go Loading commit data...
int_lit.go Loading commit data...
iota.go Loading commit data...
literal.go Loading commit data...
map.go Loading commit data...
math.go Loading commit data...
nil.go Loading commit data...
peano.go Loading commit data...
printbig.go Loading commit data...
readfile.go Loading commit data...
run Loading commit data...
sieve.go Loading commit data...
simassign.go Loading commit data...
sorting.go Loading commit data...
string_lit.go Loading commit data...
stringslib.go Loading commit data...
switch.go Loading commit data...
switch1.go Loading commit data...
tcpserver.go Loading commit data...
test0.go Loading commit data...
timelib.go Loading commit data...
turing.go Loading commit data...
utf.go Loading commit data...
vectors.go Loading commit data...