[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libguestfs] [PATCH] mllib: Getopt: fix integer parsing



On Mon, Jul 18, 2016 at 10:47:12AM +0200, Pino Toscano wrote:
> I still don't understand why we need to handle values bigger than int
> (as in C int, i.e. signed 32 bits) at all -- neither it is actually
> needed, nor it would be coherent in 32bit vs 64bit builds.

If that's what you decide then that is fine too.  My test patch
checked that 63 bit integers could be returned (on 64 bit arch) but we
can drop that test.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-builder quickly builds VMs from scratch
http://libguestfs.org/virt-builder.1.html


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]