Wireshark-commits: [Wireshark-commits] master-1.10 b62a896: Fix bug 9720 'Lua: bitop library is mis
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b62a8961c7adecc8405ad838bd659b6da8ae8d0d
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark
Commits:
b62a896 by Hadriel Kaplan (hadrielk@xxxxxxxxx):
Fix bug 9720 'Lua: bitop library is missing in Lua 5.2'
In Lua 5.2 the bitop library is missing - it's not getting loaded into
the lua global table as "bit", or anything else for that matter. Lua
5.2 has its own bit-operations library ("bit32") which is there, but
that one's not as good as bitop and would break back/forward
compatibility for lua scripts anyway.
Change-Id: I94b7d45bbeb2f637d1c76b0b5c9d8472eebfcaea
Reviewed-on: https://code.wireshark.org/review/100
Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
Tested-by: Evan Huus <eapache@xxxxxxxxx>
Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Reviewed-on: https://code.wireshark.org/review/141
Actions performed:
from b921379 Pass the caplen from the struct wtap_pkthdr to pcap_read_post_process().
adds b62a896 Fix bug 9720 'Lua: bitop library is missing in Lua 5.2'
Summary of changes:
epan/wslua/lua_bitop.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)