Wireshark-bugs: [Wireshark-bugs] [Bug 5976] New: wslua_debug hides Lua's debug table
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5976
Summary: wslua_debug hides Lua's debug table
Product: Wireshark
Version: 1.4.6
Platform: x86-64
OS/Version: Mac OS X 10.6
Status: NEW
Severity: Minor
Priority: Low
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: tony19@xxxxxxxxx
Build Information:
2011-06-01 01:55:34.232 defaults[66480:903]
The domain/default pair of (kCFPreferencesAnyApplication,
AppleAquaColorVariant) does not exist
2011-06-01 01:55:34.241 defaults[66481:903]
The domain/default pair of (kCFPreferencesAnyApplication, AppleHighlightColor)
does not exist
wireshark 1.4.6 (SVN Rev 36706 from /trunk-1.4)
Copyright 1998-2011 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled (64-bit) with GTK+ 2.20.1, with GLib 2.24.1, with libpcap 1.0.0, with
libz 1.2.3, without POSIX capabilities, without libpcre, without SMI, without
c-ares, without ADNS, with Lua 5.1, without Python, without GnuTLS, without
Gcrypt, with MIT Kerberos, without GeoIP, with PortAudio V19-devel (built Jan
11
2011 18:26:13), without AirPcap.
Running on Darwin 10.7.0 (Mac OS 10.6.7), with libpcap version 1.0.0, with libz
1.2.3.
Built using gcc 4.2.1 (Apple Inc. build 5666) (dot 3).
--
The Wireshark Lua API contains a function called "debug", which logs a message
with debug severity. This function hides an identically-named Lua table, which
provides access to the Debug Library
(http://www.lua.org/manual/5.1/manual.html#5.9).
I recommend renaming all log functions (including the "debug" one in question)
to include a "log_" prefix.
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.