-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 09 June 2003 14:16, Dima K wrote: > > If some day i finish it (now i don't have much motivation), i will > > send a > > patch. My idea was to get the total lenght (saving the expanded > > items) and > > then malloc. > > This doesn't save anything, copying over the saved strings takes the > same time, IMHO this only introduces complexity.
not much really. the whole function was a state-machine with output, that first output the length, and then copied the characters, but i agree that your solution is better in terms of that we already know that the rest of the code works, and should go to the next release. - -- Buenos Aires, Argentina 12°C with winds at 5 km/h ENE -----BEGIN PGP SIGNATURE----- iD8DBQE+5M20jSlJEriOToYRApZfAJ4jXdLcQMWtxL1GEf8ycRlO3mRIkwCgrVmL HV9Ysd6DUsijgnGEJoqM7ag= =hsVQ -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Licq-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/licq-devel