1
0
mirror of https://github.com/tmux/tmux.git synced 2025-03-23 05:38:56 +00:00

Differences to OpenBSD.

This commit is contained in:
Nicholas Marriott 2017-05-31 16:34:39 +01:00
parent 113356c848
commit 35008200bd
5 changed files with 2 additions and 4 deletions

1
cfg.c
View File

@ -23,7 +23,6 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h>
#include "tmux.h" #include "tmux.h"

View File

@ -17,7 +17,6 @@
*/ */
#include <sys/types.h> #include <sys/types.h>
#include <sys/param.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <errno.h> #include <errno.h>

View File

@ -1105,6 +1105,7 @@ server_client_resize_event(__unused int fd, __unused short events, void *data)
if (errno != EINVAL && errno != ENXIO) if (errno != EINVAL && errno != ENXIO)
#endif #endif
fatal("ioctl failed"); fatal("ioctl failed");
log_debug("%s: %%%u resize to %u,%u", __func__, wp->id, wp->sx, wp->sy);
wp->flags &= ~PANE_RESIZE; wp->flags &= ~PANE_RESIZE;

View File

@ -4,7 +4,7 @@ rm diff.out
touch diff.out touch diff.out
for i in *.[ch]; do for i in *.[ch]; do
diff -u -I'\$OpenBSD' $i /usr/src/usr.bin/tmux/$i >diff.tmp diff -u -I'\$OpenBSD' $i ../../OpenBSD/tmux/$i >diff.tmp
set -- `wc -l diff.tmp` set -- `wc -l diff.tmp`
[ $1 -eq 8 ] && continue [ $1 -eq 8 ] && continue
echo $i echo $i

View File

@ -22,7 +22,6 @@
#include <errno.h> #include <errno.h>
#include <fcntl.h> #include <fcntl.h>
#include <fnmatch.h> #include <fnmatch.h>
#include <signal.h>
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>