> > > I could probably remove that from the hash > > > table code that I use, but so far I found it useful (and the extra > > overhead > > > should not really be noticable, I thought). > > > > This is quite drastic solution;) Isn't there another way? > > I meant this as a last resort, if the math lib is not available. But > thinking > twice about it, I think this can really be done without any loss of > functionality. Let me check...
yup, simple calculations do the job. The code currently is: ceil(unsigned * 0.65) which equals ((unsigned long long) unsigned * 65) / 100 where "/" is the integer division which ignores the reminder. So it is easy to do this without float's, what obviously removes the need for ceil and thus the math lib. Will patch soon... Thanks for bringing this to my attention! Rainer _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com

