[rrd-developers] GIF and Y0

Alex van den Bogaerdt alex at ergens.op.HET.NET
Sat Apr 6 14:48:33 MEST 2002


I've submitted some changes to many files.
Most of the references to `gif' are now changed in an apropriate
way.  im->xgif and im->ygif are now im->ximg and im->yimg, examples
use png or svg.

I also changed y0,y1 into Y0,Y1.  To make things the same I did so
also for x0,x1,x2,y2.

If you, like me, work with a local copy of the cvs tree you may want
to try this small script; it creates a copy of rrdtool and modifies
the sources.  Most of the shadowed variables are then gone at the
expense of a few minor changes in the text.  You probably will
have to modify it a bit; also be careful to not delete important
stuff.  Use at your own risc et cetera.


# This program copies the rrdtool cvs archive into
# another dir, modifying some variables along the way
# This because variable names y0,y1,gamma shouldn't be
# used when you don't want so much warnings.

cd /home/rrdtool/cvs
rm -rf work
mkdir work || { echo Aborting >&2; exit 1; }
cp -r rrdtool/* work
find work -name '*.[ch]' -print | xargs rm
cd rrdtool
find contrib program -name '*.[ch]' -exec bash -c "sed '
' < {} > ../work/{}" ';'
exit 0

 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
| Technical questions sent directly to me will be nuked. Use the list. | 
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |

Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the rrd-developers mailing list