Instant Terminal Sharing
Go to file
Nicholas Marriott 36e537bcef PatchSet 786
Date: 2010/11/14 08:58:25
Author: nicm
Branch: HEAD
Tag: (none)
Log:
Don't allow last and active window to become the same - a very bad move
when the active window is closed and freed. Reported by sthen@.

Members:
        window.c:1.58->1.59
2010-12-06 21:53:50 +00:00
compat Whoops, get the logic the right way round. 2010-11-13 16:29:05 +00:00
examples Update, from Daniel Thau. 2010-09-18 09:36:15 +00:00
tools Bring back fuzz.c. 2010-11-02 20:55:13 +00:00
www >4 now. 2010-11-01 21:42:20 +00:00
array.h Sync OpenBSD patchset 714: 2010-06-06 00:27:08 +00:00
attributes.c Sync OpenBSD patchset 700: 2010-06-05 23:54:51 +00:00
cfg.c Sync OpenBSD patchset 704: 2010-06-06 00:04:18 +00:00
CHANGES Changes for 1.3. 2010-07-18 13:40:59 +00:00
client.c Put setproctitle back under HAVE_SETPROCTITLE. 2010-10-24 19:54:41 +00:00
clock.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-attach-session.c Sync OpenBSD patchset 639: 2010-02-08 18:27:34 +00:00
cmd-bind-key.c Sync OpenBSD patchset 727: 2010-07-02 02:43:01 +00:00
cmd-break-pane.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-capture-pane.c Sync OpenBSD patchset 612: 2010-01-22 17:29:19 +00:00
cmd-choose-buffer.c Sync OpenBSD patchset 726: 2010-06-22 23:35:20 +00:00
cmd-choose-client.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-choose-session.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-choose-window.c Sync OpenBSD patchset 724: 2010-06-22 23:26:18 +00:00
cmd-clear-history.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-clock-mode.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-command-prompt.c Sync OpenBSD patchset 697: 2010-05-14 14:33:39 +00:00
cmd-confirm-before.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-copy-buffer.c Sync OpenBSD patchset 567: 2009-11-28 14:50:37 +00:00
cmd-copy-mode.c Sync OpenBSD patchset 748: 2010-08-11 22:18:28 +00:00
cmd-delete-buffer.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-detach-client.c Sync OpenBSD patchset 639: 2010-02-08 18:27:34 +00:00
cmd-display-message.c Sync OpenBSD patchset 561: 2009-11-28 14:39:53 +00:00
cmd-display-panes.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-find-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-generic.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-has-session.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-if-shell.c Sync OpenBSD patchset 741: 2010-08-09 21:44:25 +00:00
cmd-join-pane.c Sync OpenBSD patchset 747: 2010-08-11 22:17:32 +00:00
cmd-kill-pane.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-kill-server.c Sync OpenBSD patchset 567: 2009-11-28 14:50:37 +00:00
cmd-kill-session.c Sync OpenBSD patchset 728: 2010-07-02 02:43:50 +00:00
cmd-kill-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-last-pane.c Sync OpenBSD patchset 780: 2010-10-24 01:34:30 +00:00
cmd-last-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-link-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-list-buffers.c Sync OpenBSD patchset 726: 2010-06-22 23:35:20 +00:00
cmd-list-clients.c Sync OpenBSD patchset 567: 2009-11-28 14:50:37 +00:00
cmd-list-commands.c Sync OpenBSD patchset 567: 2009-11-28 14:50:37 +00:00
cmd-list-keys.c Sync OpenBSD patchset 778: 2010-10-24 01:31:57 +00:00
cmd-list-panes.c Sync OpenBSD patchset 744: 2010-08-11 22:14:23 +00:00
cmd-list-sessions.c Sync OpenBSD patchset 567: 2009-11-28 14:50:37 +00:00
cmd-list-windows.c Sync OpenBSD patchset 732: 2010-07-02 02:54:52 +00:00
cmd-list.c |--------------------- 2010-12-06 21:48:56 +00:00
cmd-load-buffer.c Sync OpenBSD patchset 741: 2010-08-09 21:44:25 +00:00
cmd-lock-client.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-lock-server.c Sync OpenBSD patchset 567: 2009-11-28 14:50:37 +00:00
cmd-lock-session.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-move-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-new-session.c Sync OpenBSD patchset 730: 2010-07-02 02:49:19 +00:00
cmd-new-window.c Sync OpenBSD patchset 730: 2010-07-02 02:49:19 +00:00
cmd-next-layout.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-next-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-paste-buffer.c Sync OpenBSD patchset 747: 2010-08-11 22:17:32 +00:00
cmd-pipe-pane.c Sync OpenBSD patchset 775: 2010-10-24 00:45:57 +00:00
cmd-previous-layout.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-previous-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-refresh-client.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-rename-session.c Sync OpenBSD patchset 749: 2010-08-11 22:19:03 +00:00
cmd-rename-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-resize-pane.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-respawn-window.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-rotate-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-run-shell.c Sync OpenBSD patchset 741: 2010-08-09 21:44:25 +00:00
cmd-save-buffer.c Sync OpenBSD patchset 741: 2010-08-09 21:44:25 +00:00
cmd-select-layout.c Sync OpenBSD patchset 732: 2010-07-02 02:54:52 +00:00
cmd-select-pane.c Support up, down, left, right movement through panes with -UDLR flags to 2010-03-15 22:03:38 +00:00
cmd-select-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-send-keys.c Pass in the session, rather than the client, to window modes' key() function. 2010-05-22 21:56:04 +00:00
cmd-send-prefix.c Pass in the session, rather than the client, to window modes' key() function. 2010-05-22 21:56:04 +00:00
cmd-server-info.c Sync OpenBSD patchset 585: 2009-12-10 16:59:02 +00:00
cmd-set-buffer.c Sync OpenBSD patchset 569: 2009-11-28 14:54:12 +00:00
cmd-set-environment.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-set-option.c Sync OpenBSD patchset 766: 2010-10-09 14:29:32 +00:00
cmd-set-window-option.c Sync OpenBSD patchset 580: 2009-12-04 22:11:23 +00:00
cmd-show-buffer.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-show-environment.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-show-messages.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-show-options.c Sync OpenBSD patchset 585: 2009-12-10 16:59:02 +00:00
cmd-show-window-options.c Sync OpenBSD patchset 580: 2009-12-04 22:11:23 +00:00
cmd-source-file.c Sync OpenBSD patchset 640: 2010-02-08 18:29:32 +00:00
cmd-split-window.c Sync OpenBSD patchset 730: 2010-07-02 02:49:19 +00:00
cmd-start-server.c Sync OpenBSD patchset 567: 2009-11-28 14:50:37 +00:00
cmd-string.c Sync OpenBSD patchset 649: 2010-02-26 13:27:38 +00:00
cmd-suspend-client.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-swap-pane.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd-swap-window.c Sync OpenBSD patchset 539: 2009-11-14 17:56:39 +00:00
cmd-switch-client.c Sync OpenBSD patchset 766: 2010-10-09 14:29:32 +00:00
cmd-unbind-key.c PatchSet 784 2010-12-06 21:51:02 +00:00
cmd-unlink-window.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
cmd.c |--------------------- 2010-12-06 21:48:56 +00:00
colour.c Sync OpenBSD patchset 322: 2009-09-11 14:13:52 +00:00
compat.h Fix AIX warnings. 2010-11-11 20:45:49 +00:00
configure Fix AIX warnings. 2010-11-11 20:45:49 +00:00
environ.c Run job commands explicitly in the global enviroment (which can be 2010-04-06 21:59:19 +00:00
FAQ Using working directory always, from Vivien Mallet. 2010-12-06 17:00:34 +00:00
GNUmakefile Working on 1.4. 2010-07-18 14:53:27 +00:00
grid-utf8.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
grid-view.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
grid.c Merge output (more) and copy modes into one single mode (called copy). 2010-04-05 05:11:44 +00:00
input-keys.c Solaris 9 has no stdint.h, ugh. Reported by a couple of people most 2010-09-07 19:32:58 +00:00
input.c Sync OpenBSD patchset 683: 2010-04-18 15:11:47 +00:00
job.c Sync OpenBSD patchset 775: 2010-10-24 00:45:57 +00:00
key-bindings.c Sync OpenBSD patchset 780: 2010-10-24 01:34:30 +00:00
key-string.c Use a macro-based mask for obtaining a key or modifier-set from the combination. 2010-06-05 20:29:11 +00:00
layout-custom.c Sync OpenBSD patchset 732: 2010-07-02 02:54:52 +00:00
layout-set.c Sync OpenBSD patchset 688: 2010-05-14 14:16:37 +00:00
layout-string.c Sync OpenBSD patchset 732: 2010-07-02 02:54:52 +00:00
layout.c Sync OpenBSD patchset 732: 2010-07-02 02:54:52 +00:00
log.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
Makefile Working on 1.4. 2010-07-18 14:53:27 +00:00
mode-key.c Jump-forward, jump-backward in copy mode, based on vi's F and f commands. 2010-03-16 17:30:58 +00:00
names.c Sync OpenBSD patchset 581: 2009-12-04 22:14:47 +00:00
NOTES Update CHANGES, and NOTES for the 1.2 release. 2010-03-10 15:18:11 +00:00
options.c Sync OpenBSD patchset 343: 2009-09-22 14:22:21 +00:00
osdep-darwin.c Space trimmage mega-diff. 2009-05-04 17:58:27 +00:00
osdep-freebsd.c Nuke dead variable here as well, in accordance to OpenBSD patchset 235. 2009-08-09 18:00:45 +00:00
osdep-linux.c Apply the make magic wand to pick an osdep-*.c file rather than using ifdefs. 2009-04-29 23:07:35 +00:00
osdep-netbsd.c Should be bestp now. 2009-09-24 12:30:22 +00:00
osdep-openbsd.c Sync OpenBSD patchset 592: 2009-12-26 23:48:37 +00:00
osdep-sunos.c Fill in the tty name in SunOS's forkpty compat, and use it in osdep_getname. 2009-10-15 07:11:25 +00:00
osdep-unknown.c Apply the make magic wand to pick an osdep-*.c file rather than using ifdefs. 2009-04-29 23:07:35 +00:00
paste.c Nuke vis.h. 2010-06-22 23:36:54 +00:00
resize.c Sync OpenBSD patchset 724: 2010-06-22 23:26:18 +00:00
screen-redraw.c Sync OpenBSD patchset 762: 2010-09-18 15:43:53 +00:00
screen-write.c Ensure we overwrite wide characters properly, and never overwrite characters we weren't overlapping. 2010-06-16 18:09:23 +00:00
screen.c Solaris has MAXHOSTNAMELEN in netdb.h. 2010-07-19 18:31:42 +00:00
server-client.c Ugh. Don't know how this happened, but make it compile by removing duplicate 2010-10-24 01:51:34 +00:00
server-fn.c Sync OpenBSD patchset 770: 2010-10-09 14:31:50 +00:00
server-window.c Sync OpenBSD patchset 745: 2010-08-11 22:16:04 +00:00
server.c Put setproctitle back under HAVE_SETPROCTITLE. 2010-10-24 19:54:41 +00:00
session.c Sync OpenBSD patchset 759: 2010-09-10 13:36:17 +00:00
signal.c Sync OpenBSD patchset 751: 2010-08-29 14:42:11 +00:00
status.c Sync OpenBSD patchset 724: 2010-06-22 23:26:18 +00:00
tmux.1 PatchSet 784 2010-12-06 21:51:02 +00:00
tmux.c Add XAUTHORITY to update-environment, requested by Andreas Kloeckner. 2010-12-06 21:53:00 +00:00
tmux.h PatchSet 783 2010-12-06 21:50:24 +00:00
TODO Another. 2010-12-06 17:10:42 +00:00
tty-acs.c Sync OpenBSD patchset 762: 2010-09-18 15:43:53 +00:00
tty-keys.c Sync OpenBSD patchset 710: 2010-06-06 00:23:44 +00:00
tty-term.c Sync OpenBSD patchset 762: 2010-09-18 15:43:53 +00:00
tty.c Sync OpenBSD patchset 775: 2010-10-24 00:45:57 +00:00
utf8.c Sync OpenBSD patchset 424: 2009-10-23 17:21:34 +00:00
window-choose.c Pass in the session, rather than the client, to window modes' key() function. 2010-05-22 21:56:04 +00:00
window-clock.c Pass in the session, rather than the client, to window modes' key() function. 2010-05-22 21:56:04 +00:00
window-copy.c Sync OpenBSD patchset 760: 2010-09-18 15:41:18 +00:00
window.c PatchSet 786 2010-12-06 21:53:50 +00:00
xmalloc.c Solaris 9 has no stdint.h, ugh. Reported by a couple of people most 2010-09-07 19:32:58 +00:00
xterm-keys.c Sync OpenBSD patchset 772: 2010-10-24 00:30:51 +00:00