Thomas Adam
7bccc82284
Merge branch 'obsd-master'
2017-02-05 02:01:12 +00:00
nicm
d091253a5d
Missing va_end, from Anton Lindqvist.
2017-02-04 23:42:53 +00:00
Thomas Adam
dc42c35f1f
Merge branch 'obsd-master'
2016-01-19 18:01:15 +00:00
nicm
995af0e2b7
I no longer use my SourceForge address so replace it.
2016-01-19 15:59:12 +00:00
nicm
a585a1b81a
Remove some stray debug code.
2015-12-14 00:32:19 +00:00
nicm
a3129fd4e8
Instead of combined flags for -c, -s, -t, split into different sets
...
using an enum and simplify the parsing code.
2015-12-14 00:31:54 +00:00
Thomas Adam
890d8da2e3
Merge branch 'obsd-master'
...
Conflicts:
log.c
proc.c
tmux.c
2015-11-25 16:37:30 +00:00
nicm
9cccb8c115
Make the log stuff a bit tidier with some helper functions.
2015-11-24 21:19:46 +00:00
Thomas Adam
7fe8edc396
Merge branch 'obsd-master'
2015-11-18 16:01:23 +00:00
nicm
577c0e3e5a
Use __unused rather than rolling our own.
2015-11-18 14:27:44 +00:00
Thomas Adam
8fa822b521
Merge branch 'obsd-master'
2015-11-18 14:01:12 +00:00
nicm
64571368dc
Sync the entire xmalloc.[ch] with the other users, but with the addition
...
of xrealloc, xvasprintf, xvsnprintf.
2015-11-18 13:06:54 +00:00
Nicholas Marriott
e0527d7731
time.h is not needed now tzset() is not in log.c.
2015-10-17 18:48:22 +01:00
Nicholas Marriott
c06c14fb29
Some header fixes.
2015-10-15 21:42:17 +01:00
Thomas Adam
b0372840e7
Merge branch 'obsd-master'
2015-09-24 14:01:10 +01:00
nicm
69ea6b9373
Do not leak log file descriptor.
2015-09-24 12:03:58 +00:00
Thomas Adam
4afe26fa82
Merge branch 'obsd-master'
2015-09-14 14:01:09 +01:00
nicm
216ddf3da5
Move tzset() from log_open to main.
2015-09-14 12:12:24 +00:00
Thomas Adam
fe536457cc
Fix includes
...
Let compat/ work out the includes; otherwise works on OpenBSD.
2015-09-06 21:29:36 +01:00
Thomas Adam
76688d2040
Merge branch 'obsd-master'
...
Conflicts:
cfg.c
tmux.c
2015-09-06 20:47:50 +01:00
nicm
364a885b0c
Pass logging through vis(3).
2015-09-01 19:14:43 +00:00
Thomas Adam
cb89f2f2a1
Merge branch 'obsd-master'
...
Conflicts:
Makefile
format.c
2015-08-30 21:44:01 +01:00
nicm
73bd816076
Microseconds in log time.
2015-08-29 00:24:44 +00:00
Thomas Adam
84eabb2658
Merge branch 'obsd-master'
2015-08-28 14:01:11 +01:00
nicm
18d4802a7b
Log time with message.
2015-08-28 12:15:54 +00:00
Thomas Adam
ccbe2545d9
Merge branch 'obsd-master'
2014-12-03 08:41:08 +00:00
millert
a3612a5472
Prefer setvbuf() to setlinebuf() for portability; ok deraadt@
2014-11-26 18:34:51 +00:00
Nicholas Marriott
747cab4281
No need for $Id$ now.
2014-11-08 12:27:43 +00:00
Thomas Adam
562af864bd
Merge branch 'obsd-master'
...
Conflicts:
Makefile
cmd-list-commands.c
cmd-suspend-client.c
job.c
tmux.h
xmalloc.c
2014-10-21 07:11:44 +01:00
nicm
0a1a88d63c
Better format for printf format attributes.
2014-10-20 23:57:13 +00:00
Thomas Adam
92af7f5901
Linux: Add <time.h> to log.c
...
This is needed, otherwise tzset() is undefined.
2014-05-13 22:01:03 +01:00
nicm
48478ea0a9
Remove log_debug2 as well and simplify log.c.
2014-03-31 21:42:45 +00:00
nicm
f155316be7
Remove unused log functions.
2014-03-31 21:42:05 +00:00
Nicholas Marriott
b1a87b2ee4
Remove log_debug2 as well and simplify log.c.
2014-03-07 16:05:29 +00:00
Nicholas Marriott
ebe7bd7c8b
Remove unused log functions.
2014-03-07 15:49:09 +00:00
Nicholas Marriott
eed7d9b473
Do not use stderr for log file and don't call log_close when not needed.
2012-05-30 15:01:57 +00:00
Nicholas Marriott
021e95b09f
Do not use stderr for log file and don't call log_close when not needed.
2012-05-30 15:01:21 +00:00
Tiago Cunha
169d362945
Sync OpenBSD patchset 1123:
...
Simplify logging and just fprintf(stderr, ...) for early errors.
2012-05-30 13:42:57 +00:00
Nicholas Marriott
196710e2d3
Simplify logging and just fprintf(stderr, ...) for early errors.
2012-05-25 08:28:10 +00:00
Tiago Cunha
3a902f4196
Sync OpenBSD patchset 1058:
...
Fix warnings. Doh.
2012-03-18 02:00:39 +00:00
Tiago Cunha
5aa28473dd
Sync OpenBSD patchset 1056:
...
Redirect libevent logging to tmux's log.
2012-03-18 01:58:09 +00:00
Nicholas Marriott
7ad052583a
Fix warnings. Doh.
2012-03-17 18:38:58 +00:00
Nicholas Marriott
a597e3546c
Redirect libevent logging to tmux's log.
2012-03-17 18:23:03 +00:00
Tiago Cunha
391f1f08c0
Expand the Id keyword.
2011-07-09 09:42:33 +00:00
Tiago Cunha
cc094fdfe6
Sync OpenBSD patchset 581:
...
Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
time now I've configured emacs to make them displayed in really annoying
colours...
2009-12-04 22:14:47 +00:00
Nicholas Marriott
15a64b805e
Massive spaces->tabs and trailing whitespace cleanup, hopefully for the last
...
time now I've configured emacs to make them displayed in really annoying
colours...
2009-12-03 22:50:09 +00:00
Tiago Cunha
6a97901691
Sync OpenBSD patchset 153:
...
Remove a couple of unused functions and fix a type ("FALLTHOUGH"), found by
lint.
2009-07-22 17:31:20 +00:00
Nicholas Marriott
044ebf1952
Remove a couple of unused functions and fix a type ("FALLTHOUGH"), found by
...
lint.
2009-07-21 18:40:30 +00:00
Nicholas Marriott
8565ae234b
Fix rejects.
2009-06-25 16:23:35 +00:00
Nicholas Marriott
a5830b9603
Restore $Id$ and add script to do so.
2009-06-25 16:21:32 +00:00