roxen.lists.roxen.general

Subject Author Date
Re: Roxen 4.1-cvs and pike 7.7 again Marc Dirix <marc[at]electronics-design[dot]nl> 28-09-2005
So I should be able to run a pike 7.4 webserver with my module in pike
7.7?


Kind regards,

marc


On Wed, Sep 28, 2005 at 12:42:07PM +0200, Martin B?hr wrote:
> On Wed, Sep 28, 2005 at 11:36:33AM +0200, Marc Dirix wrote:
> > If one is to run in 7.4 compatibilty everything works fine, but turning
> > it of results in problems concerning the Crypto module which has changed
> > over time. The "string_to_hex" and Crypto.md5 aren't available anymore.
> 
> string_to_hex has moved to String.string2hex
> since it is not exactly a crypto specific function.
> Crypto.md5 has been renamed to Crypt.MD5
> 
> > My problem in this is, that a module I use doesn't like pike in 7.4
> > compat.
> 
> you can turn on compat mode per file, or even per parts of a file:
> 
> // pike 7.6 code here
> #pike 7.4
> foo = Crypto.string_to_hex(bar);
> #pike 7.6
> // more 7.6 code here.
> 
> greetings, martin
> -- 
> cooperative communication with sTeam      -     caudium, pike, roxen and unix
> offering: programming, training and administration   -  anywhere in the world
> --
> pike programmer   travelling and working in europe             open-steam.org
> unix system-      bahai.or.at                        iaeste.(tuwien.ac|or).at
> administrator     (caudium|gotpike).org                          is.schon.org
> Martin B?hr       http://www.iaeste.or.at/~mbaehr/