emile Mon Mar 19 01:49:59 2001 EDT
Modified files:
/php4/ext/midgard midgard.c
Log:
return userid from mgd_auth_midgard
Index: php4/ext/midgard/midgard.c
diff -u php4/ext/midgard/midgard.c:1.23 php4/ext/midgard/midgard.c:1.24
---
emile Thu Mar 15 02:56:56 2001 EDT
Modified files:
/php4/ext/midgard midgard.c
Log:
Remove php_error for situations where Midgard is loaded but not configured
(which is valid).
Index: php4/ext/midgard/midgard.c
diff -u php4/ext/midgard/midgard.c:1.22
davidg Sun Feb 25 15:34:48 2001 EDT
Modified files:
/php4/ext/midgard midgard.c
Log:
force user to pass $xparam by reference (from mgd_walk_xxx_tree() functions)
Index: php4/ext/midgard/midgard.c
diff -u php4/ext/midgard/midgard.c:1.18
Are you sure you shouldn't be using zval_ptr_dtor(args[0]) as opposed to
zval_dtor(). I see you guys doing this a lot and usually you'd want to use
zval_ptr_dtor(). It reduces reference count and only if the zval really
needs freeing does it run zval_dtor() and efree(). In any case, you guys
davidg Fri Feb 23 01:22:09 2001 EDT
Modified files:
/php4/ext/midgard midgard.c
Log:
Removed constants registration, added a conversion table $midgard-types[$objtype]
try var_dump($midgard) for more details
Index: php4/ext/midgard/midgard.c
diff -u
You only have the module globals during requests (rinit/rshutdown). You
can't access them in module init/module shutdown.
Andi
At 11:35 PM 2/20/2001 +, Emiliano Heyns wrote:
emile Tue Feb 20 15:35:35 2001 EDT
Modified files:
/php4/ext/midgard midgard.c
Log:
Because thread-wide globals are only available when you're actually in the
thread (during a request) and not when the process starts up. If you need
true globals you can just use globals.
Andi
At 12:34 PM 2/22/2001 +0100, Thies C. Arntzen wrote:
On Thu, Feb 22, 2001 at 01:26:45PM +0200, Andi
Yes. It will call your init_globals just in time, usually on your first
access to the data if I remember correctly. Your fix is correct. I didn't
see it when I sent that Email.
Andi
At 12:37 PM 2/22/2001 +0100, Emiliano wrote:
Andi Gutmans wrote:
You only have the module globals during
davidg Wed Feb 21 04:21:02 2001 EDT
Modified files:
/php4/ext/midgard midgard.c
Log:
used dynamic alloc to avoid segfault ;)
Index: php4/ext/midgard/midgard.c
diff -u php4/ext/midgard/midgard.c:1.9 php4/ext/midgard/midgard.c:1.10
---
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
---
emile Tue Feb 20 15:54:07 2001 EDT
Modified files:
/php4/ext/midgard midgard.c
Log:
Argh, that's what init_globals does. Sorry, on auto-pilot fixing things
in both midgard-php3 and midgard-php4
Index: php4/ext/midgard/midgard.c
diff -u
davidg Tue Feb 20 16:29:34 2001 EDT
Modified files:
/php4/ext/midgard midgard.c
Log:
more explicit variable names.
Index: php4/ext/midgard/midgard.c
diff -u php4/ext/midgard/midgard.c:1.8 php4/ext/midgard/midgard.c:1.9
--- php4/ext/midgard/midgard.c:1.8
davidg Sun Feb 18 10:45:25 2001 EDT
Modified files:
/php4/ext/midgard midgard.c
Log:
allow execution of 'normal' php scripts
Index: php4/ext/midgard/midgard.c
diff -u php4/ext/midgard/midgard.c:1.4 php4/ext/midgard/midgard.c:1.5
---
13 matches
Mail list logo