ZFS LUA code uses floating point math
In the LUA interpreter used by "zfs program", the lua format() function accidentally includes support for '%f' and friends, which can cause compilation problems when building on platforms that don't support floating-point math in the kernel (e.g. sparc). Support for '%f' friends (%f %e %E %g %G) should be removed, since there's no way to supply a floating-point value anyway (all numbers in ZFS LUA are int64_t's).
Updated by Electric Monk over 3 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
commit 916c8d881190bd2c3ca20d9fca919aecff504435 Author: Matthew Ahrens <firstname.lastname@example.org> Date: 2017-08-01T14:47:51.000Z 8552 ZFS LUA code uses floating point math Reviewed by: Yuri Pankov <email@example.com> Reviewed by: Igor Kozhukhov <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>