f936fa1261
- only one byte was being used for total data length in a data field which had 'maxi' size data (total data > 255 bytes), rather than the correct four bytes. - Seem to have finally nailed the proper algorithm for calculating data item padding (four size bytes + bytes of data, padded to 8-byte boundary) in all places. - Was passing the address of the padding string, rather than the string itself, when writing out NULL padding bytes - Was incorrectly clearing the MSG_FLAG_MINI_DATA bit when the number of data items or the size of the largest data item exceeding 256 bytes. Bit is now cleared when total size of all item data (including size bytes and padding, if applicable) exceeds 256 bytes - Modified SizePolicy::Padding(const T&) to use calc_padding() from MessageUtils.h/.cpp - Added SizePolicy::Padding(const Store&) to calculate padding for data field's entire data store git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9743 a95241bf-73f2-0310-859d-f6bbb57e9c96 |
||
---|---|---|
.. | ||
AppMisc.h | ||
AppServerLink.h | ||
AreaLink.h | ||
LinkMsgReader.h | ||
LinkMsgSender.h | ||
LooperList.h | ||
MessageBody.h | ||
MessageField.h | ||
MessagePrivate.h | ||
MessageUtils.h | ||
MessengerPrivate.h | ||
PortLink.h | ||
PortMessage.h | ||
PortQueue.h | ||
RegistrarDefs.h | ||
RegistrarThread.h | ||
RegistrarThreadManager.h | ||
RosterPrivate.h | ||
ServerMemIO.h | ||
ServerProtocol.h | ||
Session.h | ||
SysCursor.h | ||
TokenSpace.h |