patch, problems, question

Shannon Weyrick <weyrick-UWl7u1r57vBWk0Htik3J/[email protected]> Thu, 12 May 2005 14:42:09 -0400
Newsgroups gmane.text.rlib.user
Message-ID <[email protected]>
Hey Bob,

I've got a patch for html.c that adds a "suppress_head" parameter to not 
output the <body> and <head> tags. It's in my cvs tree - is there a way 
to commit it or should I send a patch to the list (or you)?

Secondly - I've been having a segfault problem lately that started a few 
weeks ago (from CVS build). What happens is when rlib has an error (say 
a BAD_OPERAND or bad SQL) it will segfault, the apache child will die, 
and it won't print out an error message - I just see a message in apache 
error log that the child died. However it only happens after it's been 
running for awhile - if I immediately restart the server it will run ok 
and rlib will show the error message. If it's been running for more than 
5 or 10 minutes say, that's when it crashes.

I wish I had time to track it down more than that, but I haven't at the 
moment. I realize it will be hard to look into unless it can be 
duplicated. It's more if a heads up and to see if anyone else is 
experiencing this.

Thirdly, I'm interesting in adding support to the PHP binding to lookup 
a variable in a hash (in addition to a single variable, as now). I 
figure this can be done with another attribute to the <field> tag - 
"index" for example. I looked into it a bit and I can add this much to 
php/environment.c if rlib_php_resolve_memory_variable gets two 
parameters. I can see where to add it to the structure to keep the 
"index" string (in parsexml.c). The tough part is pcode.c -- how can I 
get access to that index string in rlib_new_operand?

Or, what's the better way to implement it?

Thanks,
Shannon


-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click