mirror of
https://github.com/tmux/tmux.git
synced 2025-01-05 23:38:48 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
506adf3764
@ -196,10 +196,10 @@ void
|
||||
environ_push(struct environ *env)
|
||||
{
|
||||
struct environ_entry *envent;
|
||||
char **vp, *v;
|
||||
char *v;
|
||||
|
||||
for (vp = environ; *vp != NULL; vp++) {
|
||||
v = xstrdup(*vp);
|
||||
while (*environ != NULL) {
|
||||
v = xstrdup(*environ);
|
||||
v[strcspn(v, "=")] = '\0';
|
||||
|
||||
unsetenv(v);
|
||||
|
2
input.c
2
input.c
@ -100,7 +100,7 @@ struct input_ctx {
|
||||
struct input_transition;
|
||||
int input_split(struct input_ctx *);
|
||||
int input_get(struct input_ctx *, u_int, int, int);
|
||||
void input_reply(struct input_ctx *, const char *, ...);
|
||||
void printflike(2, 3) input_reply(struct input_ctx *, const char *, ...);
|
||||
void input_set_state(struct window_pane *, const struct input_transition *);
|
||||
void input_reset_cell(struct input_ctx *);
|
||||
|
||||
|
2
tmux.h
2
tmux.h
@ -1542,7 +1542,7 @@ extern struct client *cfg_client;
|
||||
void start_cfg(void);
|
||||
int load_cfg(const char *, struct cmd_q *, char **);
|
||||
void set_cfg_file(const char *);
|
||||
void cfg_add_cause(const char *, ...);
|
||||
void printflike(1, 2) cfg_add_cause(const char *, ...);
|
||||
void cfg_print_causes(struct cmd_q *);
|
||||
void cfg_show_causes(struct session *);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user