Michael Stapelberg bf760d0241 log.c: use posix_fallocate() instead of ftruncate() (Thanks don)
The effect is that the error handling is much better. posix_fallocate()
will allocate all the requested space, whereas ftruncate() does not.

Before this commit, in case the /dev/shm filesystem is too small to hold
the _contents_ of the log file, i3 will SIGBUS when writing to the shm
logfile. With this commit, it will print an error message on startup,
but continue to run without logging.
2013-08-01 00:42:24 +02:00
2013-03-18 23:01:36 +01:00
2013-07-17 23:02:31 +02:00
2013-03-14 15:20:33 +01:00
2013-06-28 00:14:30 +02:00
2013-06-29 19:28:41 +02:00
2013-07-17 23:02:31 +02:00
2013-07-17 23:02:31 +02:00
2013-06-23 22:34:13 +02:00
2012-12-11 22:31:44 +01:00
2012-12-25 14:20:21 +01:00
2011-08-28 17:44:42 +02:00
2012-12-11 22:31:44 +01:00
2011-08-28 17:44:42 +02:00
2012-04-25 23:06:39 +02:00
2012-12-11 22:45:34 +01:00
Description
No description provided
15 MiB
Languages
C 58.6%
Perl 29%
Raku 9.4%
Ruby 1.2%
Shell 0.7%
Other 1.1%