[PD-dev] pdsend bug

IOhannes m zmoelnig zmoelnig at iem.at
Tue Jun 21 11:08:17 CEST 2005


helmuth ploner has discovered a bug in pdsend, that makes it unusable 
for sending longer (>127) strings, even though the buffer-length is 4096.
this is due to using variables of type "char" for storing the buffer-length.

attached is a patch that uses "unsigned int" instead of "char".

i guess "t_size" would be even better.

shouldn't pdsend&netsend use the same code rather than 2 copies, so 
bugfixes would be passed to all uses of the code-snippet ??


mfg.a.dr
IOhannes
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: u_pdsend.diff
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20050621/75ce91d7/attachment.asc>


More information about the Pd-dev mailing list