]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
src/rrd_open.c: fix crash (SIGBUS) trying to CREATE a rrd on a full filesystem 729/head
authorMarek Schimara <Marek.Schimara@ext.bull.net>
Thu, 12 Sep 2013 11:57:50 +0000 (13:57 +0200)
committerMarek Schimara <Marek.Schimara@bull.net>
Tue, 23 Aug 2016 11:42:16 +0000 (13:42 +0200)
commit25086e6913738be8321789e46f77dd8405e1e280
treec06d1d01aa208e7376f3b982e6e5a0ce9254f5b0
parent9a0d1ad812ed12a6217c3a8ee5ba1af9c3a05e22
src/rrd_open.c: fix crash (SIGBUS) trying to CREATE a rrd on a full filesystem

        Condition (posix_fallocate(rrd_simple_file->fd, 0, newfile_size) == -1)
        is always FALSE so this check passes all the time.
        See man posix_fallocate()
src/rrd_open.c