DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2505
Version: 1.3-current


Note that some of the other text handling functions do malloc the local
string the first time they are called then hang onto the allocation and
track its size, and realloc it later if a bigger string needs to be
processed.

I don't know if this is better or worse than having a large fixed string. 

Obvioulsy a fixed string might be subject to a buffer overflow, and
allocation from the heap may be better than a static string or allocation
from the stack...

I don't know which I dislike least, actually... I don't *like* either
option much!


Link: http://www.fltk.org/str.php?L2505
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to