Re: [libvirt] [PATCHv2 02/27] maint: print flags in hex during debug

2011-07-13 Thread Matthias Bolte
2011/7/8 Eric Blake ebl...@redhat.com: Continuation of commit 313ac7fd, and enforce things with a syntax check. Technically, virNetServerClientCalculateHandleMode is not printing a mode_t, but rather a collection of VIR_EVENT_HANDLE_* bits; however, these bits are 8, so there is no

Re: [libvirt] [PATCHv2 02/27] maint: print flags in hex during debug

2011-07-13 Thread Eric Blake
On 07/13/2011 03:49 AM, Matthias Bolte wrote: 2011/7/8 Eric Blake ebl...@redhat.com: Continuation of commit 313ac7fd, and enforce things with a syntax check. Technically, virNetServerClientCalculateHandleMode is not printing a mode_t, but rather a collection of VIR_EVENT_HANDLE_* bits;

[libvirt] [PATCHv2 02/27] maint: print flags in hex during debug

2011-07-08 Thread Eric Blake
Continuation of commit 313ac7fd, and enforce things with a syntax check. Technically, virNetServerClientCalculateHandleMode is not printing a mode_t, but rather a collection of VIR_EVENT_HANDLE_* bits; however, these bits are 8, so there is no different in the output, and that was the easiest