rechecked now full list of changes - we are using sources in all places: cmd/lib/uts
iād like propose move shared sources to src/common/lua for private library add -sys and use it for cmd components. i did similar for acpica, but new structure was not approved. -Igor > i think, based on info that current modified lua is part of kernel modules > builds, will be better put sources to: > uts/common/lang/lua/* - where we can save original sources structure for next > updates. > > -Igor > > > On Sep 30, 2016, at 10:16 PM, Chris Williamson <[email protected]> > > wrote: > > > > It was necessary to slightly modify the base lua 5.2.4 interpreter for a > > couple reasons: > > > > the need to disable a number of printing, file io, and pcall functions > > error handling changes to allow channel programs to return errors rather > > than panicking the kernel > > limited kernel stack space > > math compatibility functions since we've changed the number representation > > from long double to int64_t > > a handful of inconsistencies in expected standard library signatures > > From looking at the configuration options for the packaged Lua interpreter, > > unfortunately I don't think we'd be able to just use binaries from a > > userland package. As such we've added the full source. > > > > I'm open to suggestions if there's a better home for the interpreter code > > than uts/common/fs/zfs/lua, though. > > > > For reference, here's the diff between the stock Lua 5.2.4 interpreter and > > the modified one we've included: > > https://gist.github.com/cwill/9b71422008c8c08ff091faefdcc0bc42 > > <https://gist.github.com/cwill/9b71422008c8c08ff091faefdcc0bc42> > > ā > > You are receiving this because you commented. > > Reply to this email directly, view it on GitHub > > <https://github.com/openzfs/openzfs/pull/198#issuecomment-250829574>, or > > mute the thread > > <https://github.com/notifications/unsubscribe-auth/AA5Gk15JDTKJVautHBZus9cVgrrS-INSks5qvWAfgaJpZM4KISTa>. > > > > ā > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <https://github.com/openzfs/openzfs/pull/198#issuecomment-250835912>, or mute > the thread > <https://github.com/notifications/unsubscribe-auth/AOi0K2ml4gYLpOJ70A764h3tumQTQJpSks5qvWd_gaJpZM4KISTa>. > > openzfs-developer | Archives > <https://www.listbox.com/member/archive/274414/=now> > <https://www.listbox.com/member/archive/rss/274414/28059325-76ffcbac> | > Modify <https://www.listbox.com/member/?&> Your Subscription > <http://www.listbox.com/> ------------------------------------------- openzfs-developer Archives: https://www.listbox.com/member/archive/274414/=now RSS Feed: https://www.listbox.com/member/archive/rss/274414/28015062-cce53afa Modify Your Subscription: https://www.listbox.com/member/?member_id=28015062&id_secret=28015062-f966d51c Powered by Listbox: http://www.listbox.com
