Changeset 6a71113 for perlglue.xs


Ignore:
Timestamp:
Mar 28, 2011, 9:11:12 AM (13 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.8, release-1.9
Children:
0b20de4, 4fd211f
Parents:
f203cad
git-author:
David Benjamin <davidben@mit.edu> (03/28/11 09:01:16)
git-committer:
David Benjamin <davidben@mit.edu> (03/28/11 09:11:12)
Message:
Use g_strjoinv in owl_cmddict_execute_argv, don't quote correctly

This reverts commit e3c8332fa85642544dba1222912b77cf6e32ce8c and uses
g_strjoinv instead. The correctly quoted form caused the j keybinding in
BarnOwl::Jabber to break. Without it, the world isn't sane this way
either:

  :perl BarnOwl::bindkey(recv => 'C-f C-f' => command => 'recv:next')

But a solution to this will probably be far more complex and bear little
relation to this commit. In the meantime master really shouldn't have
this obnoxious of a regression on it.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • perlglue.xs

    rf25df21 r6a71113  
    4343                        rv = owl_function_command(cmd);
    4444                } else {
    45                         argv = g_new(const char *, items + 1);
     45                        /* Ensure this is NULL-terminated. */
     46                        argv = g_new0(const char *, items + 1);
    4647                        argv[0] = cmd;
    4748                        for(i = 1; i < items; i++) {
Note: See TracChangeset for help on using the changeset viewer.