Skip to content
Snippets Groups Projects
Commit 4b6ca71b authored by Marcus Comstedt's avatar Marcus Comstedt
Browse files

Test the correct version, please...

Rev: lib/master.pike.in:1.329
parent 0dd3c2fa
Branches
Tags
No related merge requests found
......@@ -6,7 +6,7 @@
// Pike is distributed under GPL, LGPL and MPL. See the file COPYING
// for more information.
//
// $Id: master.pike.in,v 1.328 2004/01/12 21:45:38 marcus Exp $
// $Id: master.pike.in,v 1.329 2004/01/12 21:49:28 marcus Exp $
#pike __REAL_VERSION__
......@@ -2447,7 +2447,7 @@ void _main(array(string) orig_argv, array(string) env)
// eval_instruction in interpret.c so that the debug and
// trace levels set above take effect in the bytecode
// evaluator.
if(currentversion <= Version(7,4))
if(Version(compat_major,compat_minor) <= Version(7,4))
prog (sizeof(argv),argv,env);
else
ret = prog()->run(sizeof(argv),argv,getenv());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment