Re: [libvirt] [PATCH 7/8] logging: always NUL-terminate circular buffer

2011-03-28 Thread Eric Blake
On 03/27/2011 02:51 AM, Laine Stump wrote: > On 03/26/2011 08:12 AM, Eric Blake wrote: >> * src/util/logging.c (virLogStartup, virLogSetBufferSize): >> Over-allocate, so that a debugger can just print the circular >> buffer. Suggested by Daniel Veillard. >> --- >> >> Original post: >> https://www.

Re: [libvirt] [PATCH 7/8] logging: always NUL-terminate circular buffer

2011-03-27 Thread Laine Stump
On 03/26/2011 08:12 AM, Eric Blake wrote: * src/util/logging.c (virLogStartup, virLogSetBufferSize): Over-allocate, so that a debugger can just print the circular buffer. Suggested by Daniel Veillard. --- Original post: https://www.redhat.com/archives/libvir-list/2011-March/msg01107.html src

[libvirt] [PATCH 7/8] logging: always NUL-terminate circular buffer

2011-03-26 Thread Eric Blake
* src/util/logging.c (virLogStartup, virLogSetBufferSize): Over-allocate, so that a debugger can just print the circular buffer. Suggested by Daniel Veillard. --- Original post: https://www.redhat.com/archives/libvir-list/2011-March/msg01107.html src/util/logging.c |8 1 files chan