PDA

View Full Version : perforce action label command fails with "buffer not large enough"


epu
10-29-2003, 05:38 PM
perforce action label command asserts "Buffer not large enough." and fails when I have a large Descr: field in the Client Spec/Label tab of the step properties window. The Descr: field is a handful of macros that expand to much larger text. The yellow pop-up tool-tip window for the Descr: field text ends with an ellipses"..."; the complete contents are not displayed.

kinook
10-30-2003, 09:33 AM
Wow, you must be the first developer in history to actually type a comment of that length :^). That is indeed a bug -- the limit on the field is currently 1K. This will be fixed in the next release of VBP (should be available in the next couple weeks).

epu
10-30-2003, 11:48 AM
Will the buffer have a new length, or will it be dynamically allocated? I am not advocating either position.

kinook
10-30-2003, 12:12 PM
With the fix, there will be no built-in limit to the length of the string that can be entered (other than available system resources).