[PATCH kvm-unit-tests 0/2] Introduce strtoll/strtoull

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

 



A recent posting by Daniele Ahmed inspired me to write a patch adding
strtoll/strtoull. While doing that I noticed check_mul_overflow wasn't
working and found copy+paste errors with it and check_sub_overflow.

Andrew Jones (2):
  compiler.h: Fix typos in mul and sub overflow checks
  lib: Introduce strtoll/strtoull

 lib/linux/compiler.h |  4 ++--
 lib/stdlib.h         |  2 ++
 lib/string.c         | 51 ++++++++++++++++++++++++++++++++------------
 3 files changed, 41 insertions(+), 16 deletions(-)

-- 
2.31.1




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux