weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [bug #36977] Unloaded scripts do not unload configuration


From: SAL9000
Subject: [Weechat-dev] [bug #36977] Unloaded scripts do not unload configuration files
Date: Fri, 27 Jul 2012 14:03:40 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.11 (KHTML, like Gecko) Chrome/20.0.1132.57 Safari/536.11

URL:
  <http://savannah.nongnu.org/bugs/?36977>

                 Summary: Unloaded scripts do not unload configuration files
                 Project: WeeChat
            Submitted by: sal9000
            Submitted on: Fri 27 Jul 2012 02:03:39 PM GMT
                Category: script API plugins
                Severity: 3 - Normal
              Item Group: other
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 0.3.8
                IRC nick: SAL9000

    _______________________________________________________

Details:

Loading a script which creates a custom configuration file, then unloading it,
removing the configuration file and /reloading recreates the configuration
file.

Test script:

weechat::register(
    "bugtest",
    "SAL9000 <address@hidden>",
    '0.1', "N/A",
    "Bug test/reproduction",
    "", ""
);
my $config_file = weechat::config_new(
    'bugtest',
    "",""
);
my $section = weechat::config_new_section(
    $config_file,'section',
    1, 1,
    "", "",
    "", "",
    "", "",
    "", "",
    "", ""
);
my $opt = weechat::config_new_option(
    $config_file,$section,'test.option',
    'string',
    'desc',
    '',
    0,0,
    'default','default',
    0,
    '','',
    '','',
    '',''
);




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 27 Jul 2012 02:03:39 PM GMT  Name: bugtest.pl  Size: 533B   By:
sal9000
Test perl script for bug reproduction
<http://savannah.nongnu.org/bugs/download.php?file_id=26271>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?36977>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]