• Rob Pike's avatar
    make syscall use strings for file names · ccede3e8
    Rob Pike authored
    tweak os to adjust
    move StringToBytes into syscall, at least for now
    
    this program still works:
    
    	package main
    
    	import os "os"
    
    	func main() {
    		os.Stdout.WriteString("hello, world\n");
    		a, b := os.NewFD(77).WriteString("no way");
    		os.Stdout.WriteString(b.String() + "\n");
    	}
    
    R=rsc
    DELTA=263  (59 added, 176 deleted, 28 changed)
    OCL=15153
    CL=15153
    ccede3e8
syscall.go 672 Bytes