Descriptioncmd/ld: skip 0-length write in cwrite
The 0-length part is fine, but some callers that write 0 bytes
also pass nil as the data pointer, and the Plan 9 kernel kills the
process with 'invalid address in sys call' in that case.
Patch Set 1 #Patch Set 2 : diff -r f4d54bcd5313 https://code.google.com/p/go/ #Patch Set 3 : diff -r f57128234e31 https://code.google.com/p/go/ #MessagesTotal messages: 5
|