bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #4658] Broken gpbs when doing pb operations between GS and X


From: Richard Frith-Macdonald
Subject: Re: [bug #4658] Broken gpbs when doing pb operations between GS and X
Date: Fri, 8 Aug 2003 11:39:34 +0100


On Friday, August 8, 2003, at 10:58 AM, Kazunobu Kuriyama wrote:
2. It is not possible to copy from X and paste in GNUstep strings longer than 1024 characters.

It seems that this is due not to gpbs, but to the implementation of NSSerializer. In the method + (NSData*) serializePropertyList: (id)propertyList, we have

  d = [NSMutableData dataWithCapacity: 1024];

I hope the limitation will be lifted once someone changes the magic number 1024,
though I'm not sure if it is possible.

No, it's not due to that ... the capacity specifies the initial memory size of the data object, not a limit ... you can serialize megabytes of data reasonably efficiently.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]