From 7afbec6bcd3c82ecf78815f2940849cc534cde69 Mon Sep 17 00:00:00 2001 From: Martin Stjernholm <mast@lysator.liu.se> Date: Thu, 5 Jun 2008 17:10:45 +0200 Subject: [PATCH] No need to pass the environment to master()->_main anymore. Rev: src/main.c:1.229 --- src/main.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main.c b/src/main.c index 9adb03d50f..d0d7d65b1e 100644 --- a/src/main.c +++ b/src/main.c @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: main.c,v 1.228 2008/01/26 22:34:21 mast Exp $ +|| $Id: main.c,v 1.229 2008/06/05 15:10:45 mast Exp $ */ #include "global.h" @@ -578,9 +578,7 @@ int main(int argc, char **argv) pike_push_argv(argc, argv); - pike_push_env(); - - apply(m, "_main", 2); + apply(m, "_main", 1); pop_stack(); num=0; } else { -- GitLab