]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix parsing of 'info chardev' line endings
authorMatthew Booth <mbooth@redhat.com>
Wed, 6 Jan 2010 16:09:04 +0000 (17:09 +0100)
committerDaniel Veillard <veillard@redhat.com>
Wed, 6 Jan 2010 16:09:04 +0000 (17:09 +0100)
commitc0a9b6a5338e54b64a4a28415ffbdb6bcc2b38c5
treefe4c2e1e53239b4adb0643f7d475ebc8a649d670
parentaee70b7482b4eb7c69f5cacfeb364000294300aa
Fix parsing of 'info chardev' line endings

This change makes the 'info chardev' parser ignore any trailing
whitespace on a line. This fixes a specific problem handling a '\r\n'
line ending.

* src/qemu/qemu_monitor_text.c: Ignore trailing whitespace in
  'info chardev' output.
src/qemu/qemu_monitor_text.c