[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Weechat-dev] [bug #41104] Changing line's prefix using hdata_update cra
From: |
tomoe mami |
Subject: |
[Weechat-dev] [bug #41104] Changing line's prefix using hdata_update crashed Weechat |
Date: |
Sun, 05 Jan 2014 07:26:19 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:29.0) Gecko/20100101 Firefox/29.0 |
URL:
<http://savannah.nongnu.org/bugs/?41104>
Summary: Changing line's prefix using hdata_update crashed
Weechat
Project: WeeChat
Submitted by: tomoe_mami
Submitted on: Sun 05 Jan 2014 07:26:19 AM GMT
Category: script API plugins
Severity: 3 - Normal
Item Group: crash
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 0.4.3-dev
IRC nick: tomoe-mami
_______________________________________________________
Details:
Using hdata_update to change the last line's prefix crashed Weechat. The
test.lua script and gdb backtrace are in the attachments.
If I use the same script to change message or date, it works fine.
Also, some people have informed me to not use hdata to change stuffs (as it
already says modification is forbidden in the top of hdata section of plugin
docs), but the doc for hdata_update shows an example of python script changing
the date of last line. If it's forbidden, I think that script example should
be gone since it will confuse people or may be just make that function
unavailable to script.
If modification is allowed but not prefix, then prefix should be removed from
"List of hdata -> line_data -> Update allowed".
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 05 Jan 2014 07:26:19 AM GMT Name: test.lua Size: 409B By:
tomoe_mami
<http://savannah.nongnu.org/bugs/download.php?file_id=30190>
-------------------------------------------------------
Date: Sun 05 Jan 2014 07:26:19 AM GMT Name: wee-gdb.txt Size: 9kB By:
tomoe_mami
<http://savannah.nongnu.org/bugs/download.php?file_id=30191>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?41104>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [Weechat-dev] [bug #41104] Changing line's prefix using hdata_update crashed Weechat,
tomoe mami <=