cvs: php4 /ext/midgard midgard.c

From: Date: Tue, 20 Feb 2001 23:35:35 +0000
Subject: cvs: php4 /ext/midgard midgard.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-4166@lists.php.net to get a copy of this message
emile Tue Feb 20 15:35:35 2001 EDT Modified files: /php4/ext/midgard midgard.c Log: Initialize globals to NULL at module init Index: php4/ext/midgard/midgard.c diff -u php4/ext/midgard/midgard.c:1.5 php4/ext/midgard/midgard.c:1.6 --- php4/ext/midgard/midgard.c:1.5 Sun Feb 18 10:45:24 2001 +++ php4/ext/midgard/midgard.c Tue Feb 20 15:35:35 2001 @@ -1,4 +1,4 @@ -/* $Id: midgard.c,v 1.5 2001/02/18 18:45:24 davidg Exp $ +/* $Id: midgard.c,v 1.6 2001/02/20 23:35:35 emile Exp $ Copyright (C) 1999 Jukka Zitting <jukka.zitting@iki.fi> Copyright (C) 2000 The Midgard Project ry Copyright (C) 2000 Emile Heyns, Aurora SA <emile@iris-advies.com> @@ -319,6 +319,10 @@ PHP_MINIT_FUNCTION(midgard) { MidgardClassPtr *midgard_class; + + MGDLS_FETCH(); + MGDG(rcfg) = NULL; + MGDG(dcfg) = NULL; ZEND_INIT_MODULE_GLOBALS(midgard, php_midgard_init_globals, NULL); /* Remove comments if you have entries in php.ini

« previous php.cvs (#4166) next »