rfl@oddjob.uchicago.edu (Bob Loewenstein) (06/30/90)
I have a problem using the Munger Toolbox utility. I want to set two relocatable buffers, one to receive data, the other to hold a copy. The way I make a copy is to use the Munger routine with an offset of zero, ptr1=NIL, len1<0. I make the call and the second buffer is filled to the correct size, but occasionally the the data in the second buffer doesn't match the data in the first. I notice that when this happens, 4 contiguous bytes have garbage in them (in the copy buffer). The position of the 4 bytes varies within the buffer. This happens infrequently, but does happen. This problem also happens occasionally when I concatenate two buffers. The call looks straightforward. Is there something I have to do first? Am I missing something? Any help would be appreciated.