
29 Jan
2011
29 Jan
'11
9:49 a.m.
On 01/28/2011 07:40 PM, Osier Yang wrote:
I'm afraid changing on virStrToLong_u* will affect other codes, pretty codes use them.
Is there some codes that expects virStrToLong_{ui,ul,ull} to convert the negative to {ui, ul, ull}?
Probably, given the above arguments about -1 being useful shorthand for the maximum value.
Yeah, so are you agreed with danpb? making changes on docs?
Yes, I think documenting that negative values are shorthand and wrapped around to positive is the right thing to do here. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org