Wireshark-commits: [Wireshark-commits] master-2.6 b407f7a: wslua: fix source argument in debug info

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 07 Sep 2018 11:49:17 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b407f7a9457b1f525f165c57002928d81f99afec
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

b407f7a by Peter Wu (peter@xxxxxxxxxxxxx):

    wslua: fix source argument in debug info for luacov
    
    The source argument should start with a '@', otherwise it is treated as
    actual source code instead of a filename. This is needed for luacov. See
    https://www.lua.org/manual/5.2/manual.html#lua_Debug
    https://github.com/keplerproject/luacov/issues/55
    
    Change-Id: I0a3e2da65fb6b4aaabb9173a07fdea18a788f3e3
    Reviewed-on: https://code.wireshark.org/review/29447
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit 46e71f9a7c17e6aec5dd9d7c5829ac8bc684d90e)
    Reviewed-on: https://code.wireshark.org/review/29464
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  4f49cb4   Qt: Add null check for finfo and hfinfo
     add  b407f7a   wslua: fix source argument in debug info for luacov


Summary of changes:
 epan/wslua/init_wslua.c | 28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)