The attached patch eliminates the many places where the rra_current pointer was maint...
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 7 Sep 2008 07:19:03 +0000 (07:19 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sun, 7 Sep 2008 07:19:03 +0000 (07:19 +0000)
commit3751e39b17ac8807d0fb68e0096228ad8da54e43
treee6d1c81db2d4a2bda83198354bf8f438a638dcd5
parent219fd9224e3117dcf59df8818d4e9e3eab26022a
The attached patch eliminates the many places where the rra_current pointer was maintained; the existing write/seek mechanisms update rrd_file->pos correctly.
Also, the seek at the front of process_arg is not necessary; write_to_rras will now take care to correct the file position at every update cycle.
This eliminates unnecessary rrd_seek() calls when MMAP is not enabled. -- kevin brintnall  kbrint rufus.net

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