1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-25 01:34:11 +03:00
libvirt/examples
Kristina Hanicova 4fc755bec1 event-test: Properly terminate strings printed from callbacks
Stdio was buffering strings in functions:
myDomainEventBlockJobCallback,
myDomainEventBlockThresholdCallback,
myDomainEventMemoryFailureCallback. It caused flushing the
printed strings from callbacks at the end of a run, not
gradually. The solution is to add \n at the end of each string.

Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Ján Tomko <jtomko@redhat.com>
2021-02-19 15:10:48 +01:00
..
c event-test: Properly terminate strings printed from callbacks 2021-02-19 15:10:48 +01:00
polkit meson: examples: build and install example files 2020-08-03 09:27:06 +02:00
sh meson: examples: build and install example files 2020-08-03 09:27:06 +02:00
systemtap examples: Use GLib event loop impl in events.stp 2020-08-21 11:34:23 +01:00
xml examples: xml: Fix 'vol-raw.xml' and 'vol-sparse.xml' 2020-10-20 09:05:10 +02:00
meson.build meson: examples: build and install example files 2020-08-03 09:27:06 +02:00