diff options
author | Tiago Cunha <tcunha@gmx.com> | 2011-02-15 15:09:52 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2011-02-15 15:09:52 +0000 |
commit | 4e4568cade9c54f02b0f41d9372f4124f1fb54be (patch) | |
tree | d139a54b7d0b9606f098773ec01d52ebadd361f7 /tmux.h | |
parent | d0d1c0e486dc13b6e5db93819ca1b634d384f283 (diff) | |
download | rtmux-4e4568cade9c54f02b0f41d9372f4124f1fb54be.tar.gz rtmux-4e4568cade9c54f02b0f41d9372f4124f1fb54be.tar.bz2 rtmux-4e4568cade9c54f02b0f41d9372f4124f1fb54be.zip |
Sync OpenBSD patchset 852:
Check if the index is in use and fail before creating the child process,
rather than leaving a stray child on failure.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.606 2011-02-14 23:11:33 tcunha Exp $ */ +/* $Id: tmux.h,v 1.607 2011-02-15 15:09:52 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -1824,7 +1824,8 @@ struct winlink *winlink_find_by_index(struct winlinks *, int); struct winlink *winlink_find_by_window(struct winlinks *, struct window *); int winlink_next_index(struct winlinks *, int); u_int winlink_count(struct winlinks *); -struct winlink *winlink_add(struct winlinks *, struct window *, int); +struct winlink *winlink_add(struct winlinks *, int); +void winlink_set_window(struct winlink *, struct window *); void winlink_remove(struct winlinks *, struct winlink *); struct winlink *winlink_next(struct winlink *); struct winlink *winlink_previous(struct winlink *); |