Juniper / libxo

The libxo library allows an application to generate text, XML, JSON, and HTML output using a common set of function calls. The application decides at run time which output style should be produced.
http://juniper.github.io/libxo/libxo-manual.html
BSD 2-Clause "Simplified" License
321 stars 48 forks source link

XO_FLUSH flag doesn't produce complete records when used with containers #53

Closed gcjenkinson closed 8 years ago

gcjenkinson commented 8 years ago

Calling xo_create with the XO_FLUSH flag flushes on emit, but not on xo_close_container producing incomplete records. The record can be flushed with an explicit call to xo_flush, but that seems to render the flag redundant (when used with containers).

philshafer commented 8 years ago

Thanks. Will fix.

philshafer commented 8 years ago

xo_transition will now call xo_flush. Fix will be in the next release.

Thanks, Phil

gcjenkinson commented 8 years ago

Cool. Many thanks.

Graeme

On Mon, Feb 22, 2016 at 4:31 PM, Phil Shafer notifications@github.com wrote:

xo_transition will now call xo_flush. Fix will be in the next release.

Thanks, Phil

— Reply to this email directly or view it on GitHub https://github.com/Juniper/libxo/issues/53#issuecomment-187255128.