[exim] [patch] generating random numbers for fun and profit

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Stanislaw Halik
Date:  
À: exim-users
Sujet: [exim] [patch] generating random numbers for fun and profit
Heya,

I've made a tiny little patch implementing random numbers. It's
available at <http://tehran.lain.pl/stuff/exim4-rand.diff>

I tried implementing it as either a variable or as an "${eval:" token.
I failed at both. Variables can't be function pointers returning
(char *) and "${eval:" recognizes single-character tokens only.

I recall seeing someone query an SQL database to get a random numeric
value. That's the rationale for writing the code. Besides, there are
countless other applications for random numbers. Like BOFH excuses given
to spammers.

Hope you enjoy the patch.

-- 
Unix stuff      :: http://tehran.lain.pl
Yet Another RBL :: http://rbl.lain.pl