buffer: special case empty string writes
authorTimothy J Fontaine <tjfontaine@gmail.com>
Thu, 23 May 2013 23:23:07 +0000 (16:23 -0700)
committerTimothy J Fontaine <tjfontaine@gmail.com>
Thu, 23 May 2013 23:32:04 +0000 (16:32 -0700)
commit007e63bb13b5d3af54081972ab88217571828906
treeac48de8f2d94c849e88e288fb6145558f546b748
parenta2f93cf77a8121db713bb003e26031bcca446f1f
buffer: special case empty string writes

Prior to 119354f we specifically handled passing a zero length string
to write on a buffer, restore that functionality.
src/node_buffer.cc
test/simple/test-buffer.js