log.c: use posix_fallocate() instead of ftruncate() (Thanks don)
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.

renlinx007/i3wm,cornerman/i3,MForster/i3,stapelberg/i3,jubalh/i3,isharp/i3,FauxFaux/i3,ccryx/i3,dg-ratiodata/i3,smrt28/i3,DSMan195276/i3,Matmusia/i3,MForster/i3,shdown/i3,i3/i3,sideffect0/i3wm,pronobis/i3,Airblader/i3,strake/i3,Zopieux/i3,Matmusia/i3,ccryx/i3,Airblader/i3-original,pronobis/i3,simonnagl/i3,cornerman/i3,Chr1stoph/i3,stapelberg/i3,cornerman/i3,sideffect0/i3wm,Airblader/i3,pablospe/i3,Kaligule/i3,pablospe/i3,yin/i3,EvilPudding/i3,simonnagl/i3,simonnagl/i3,Airblader/i3,tcreech/i3,mh21/i3,gnomus/i3-wm-gap,dtomasiewicz/i3,strake/i3,jubalh/i3,Chr1stoph/i3,mh21/i3,smrt28/i3,jubalh/i3,gnomus/i3-wm-gap,i3/i3,renlinx007/i3wm,mariusmuja/i3wm,stapelberg/i3,EvilPudding/i3,EvilPudding/i3,avrelaun/i3,Zopieux/i3,mariusmuja/i3wm,jubalh/i3,avrelaun/i3,Matmusia/i3,Zopieux/i3,MForster/i3,netzverweigerer/i3,Azkae/i3,renlinx007/i3wm,EvilPudding/i3,tcreech/i3,netzverweigerer/i3,i3/i3,dg-ratiodata/i3,Kaligule/i3,netzverweigerer/i3,Airblader/i3-original,shdown/i3,Airblader/i3-original,acrisci/i3,shdown/i3,sa1/i3,renlinx007/i3wm,drbig/i3,saksham0808/i3,simonnagl/i3,saksham0808/i3,Kaligule/i3,tcreech/i3,pablospe/i3,sa1/i3,sideffect0/i3wm,mariusmuja/i3wm,saksham0808/i3,Kaligule/i3,MForster/i3,FauxFaux/i3,Chr1stoph/i3,gnomus/i3-wm-gap,pronobis/i3,acrisci/i3,avrelaun/i3,strake/i3,i3/i3,acrisci/i3,drbig/i3,gnomus/i3-wm-gap,ccryx/i3,dtomasiewicz/i3,DSMan195276/i3,FauxFaux/i3,Airblader/i3,acrisci/i3,mariusmuja/i3wm,dtomasiewicz/i3,drbig/i3,yin/i3,pablospe/i3,sideffect0/i3wm,yin/i3,DSMan195276/i3,sa1/i3,strake/i3,mh21/i3,isharp/i3,saksham0808/i3,smrt28/i3,isharp/i3,netzverweigerer/i3,drbig/i3,Azkae/i3,sa1/i3,dg-ratiodata/i3,dg-ratiodata/i3,avrelaun/i3,tcreech/i3,Azkae/i3,smrt28/i3,shdown/i3,FauxFaux/i3,strake/i3,ccryx/i3,Zopieux/i3,isharp/i3,Airblader/i3-original,Matmusia/i3,pronobis/i3,Chr1stoph/i3,mh21/i3,yin/i3,acrisci/i3,Airblader/i3-original,Azkae/i3,stapelberg/i3,cornerman/i3,DSMan195276/i3,dtomasiewicz/i3