Re: Clone hook - segfault is bad, doc'd or not
| From: | Bob Majdak Jr | Date: | Fri, 07 Mar 2008 03:36:12 +0000 |
| Subject: | Re: Clone hook - segfault is bad, doc'd or not | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-4167@lists.php.net to get a copy of this message | ||
We made talk about it on IRC, I post here so others know where I stand. (LOL)
Anyway I agree, E_ERROR it instead of Segfaulting it. Cloning is useless in this application.
--
Bob Majdak Jr
KateOS Rofflecopter Pilot
http://www.kateos.org
Elizabeth M Smith wrote:
> Hello,
>
> I was digging through the bugs and noticed the "segfault on clone" issue
> was still there. I've been thinking that we should just hook the clone
> object handler and throw an exception/ fatal error - that way people
> know that you can't clone gtk objects and we don't let the engine go boom.
>
> Any opinions on the subject? (it'd fix the bug too ;)
>
> Thanks,
> Elizabeth
>