rrd_open should not create files with restrictive masks
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 18 Oct 2008 22:32:19 +0000 (22:32 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 18 Oct 2008 22:32:19 +0000 (22:32 +0000)
commit59525f3de81d5f6a9c5e5fc3a6662fa7e074163f
tree9c12c3f2287fa33e8c0c9a55a8952da92ad81b4d
parent45f97327ebf242442e2d9dfb8528cae01e300cc1
rrd_open should not create files with restrictive masks

Removed unnecessary "mode" varaible.  The mode is only used when O_CREAT is
specified, where we want to use 0666 (as rrd_create_fn did r<=1612).
--kevin

git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1620 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_open.c