aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2010-12-06 21:48:56 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2010-12-06 21:48:56 +0000
commit39e277be3c05dd13e92766cb8fc8ffc58cefdd53 (patch)
tree6e4871d04704b20c1167c4d00c696f56a4402f98 /tmux.h
parent1650155589968f50b1443ff5af8dfae92b9a77c3 (diff)
downloadrtmux-39e277be3c05dd13e92766cb8fc8ffc58cefdd53.tar.gz
rtmux-39e277be3c05dd13e92766cb8fc8ffc58cefdd53.tar.bz2
rtmux-39e277be3c05dd13e92766cb8fc8ffc58cefdd53.zip
|---------------------
|PatchSet 781 |Date: 2010/10/29 21:11:57 |Author: nicm |Branch: HEAD |Tag: (none) |Log: |We now send argv to the server after parsing it in the client to get the |command, so the client should not modify it. Instead, take a copy. Fixes |parsing command lists, reported by mcbride@. | |Members: | cmd-list.c:1.5->1.6 | cmd.c:1.45->1.46 | tmux.h:1.244->1.245
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 624694f4..9b851166 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.581 2010-10-24 01:34:30 tcunha Exp $ */
+/* $Id: tmux.h,v 1.582 2010-12-06 21:48:56 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1462,6 +1462,7 @@ const char *cmd_set_option_print(
/* cmd.c */
int cmd_pack_argv(int, char **, char *, size_t);
int cmd_unpack_argv(char *, size_t, int, char ***);
+char **cmd_copy_argv(int, char **);
void cmd_free_argv(int, char **);
struct cmd *cmd_parse(int, char **, char **);
int cmd_exec(struct cmd *, struct cmd_ctx *);