Displaying 1 result from an estimated 1 matches for "chbuf".
Did you mean:
cbuf
2007 Jan 21
1
[ win32utils-Bugs-8039 ] Cannot send data that includes a binary 0
...de
Status: Open
Resolution: None
Priority: 3
Submitted By: David Koontz (dkoontz)
Assigned to: Nobody (None)
Summary: Cannot send data that includes a binary 0
Initial Comment:
In pipe.c on lines 262 and 278, the size of the buffer to be written to the named pipe is calculated using strlen(ptr->chBuf). If you want to send data such as [0].pack("I") the strlen will report a size of zero. Instead I believe calling the Ruby string''s size/length method would give a correct value. I have verified that this can work by using the Win32API lib to wrap the appropriate Win32 calls a...