Re: [pph] Fixing string streaming functions and their comments (issue4654076)

2011-06-30 Thread dnovillo
On 2011/06/30 01:37:59, Gabriel Charette wrote: 2011-06-29 Gabriel Charette * pph-streamer.h (struct pph_stream): Fix comment of data_in field. (pph_out_string_with_length): lto_output_string_with_length now handles NULL strings, call it

[pph] Fixing string streaming functions and their comments (issue4654076)

2011-06-29 Thread Gabriel Charette
Some comments were wrong. In particular, the strings read from the stream are placed in a data table, and thus the strings returned DO NOT need to be freed by the caller, they belong to the stream who handles them itself. Also lto_output_string_with_length does handle NULL strings, removed the