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 %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).
You can view, comment on, or merge this pull request online at:

  https://github.com/openzfs/openzfs/pull/437

-- Commit Summary --

  * 8552 ZFS LUA code uses floating point math

-- File Changes --

    M usr/src/uts/common/fs/zfs/lua/lstrlib.c (2)

-- Patch Links --

https://github.com/openzfs/openzfs/pull/437.patch
https://github.com/openzfs/openzfs/pull/437.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/437

------------------------------------------
openzfs-developer
Archives: 
https://openzfs.topicbox.com/groups/developer/discussions/T0cfab28cf62cc38f-M9d096b6dfd45c89d4237d0e6
Powered by Topicbox: https://topicbox.com

Reply via email to