From: Shannon W. <we...@ro...> - 2005-05-12 18:42:22
|
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 |