In INIT, EXIT and some gc callbacks the fun in Pike_fp is set to FUNCTION_BUILTIN. there are some places in the code (e.g. ADT.List()->_get_iterator) where ->fun is used in INHERIT_FROM_INT et al, which segfaults (except with PIKE_DEBUG). I am not sure where to fix this. Should the *_FROM_INT macros check for FUNCTION_BUILTIN or is this better to be handled in the individual INIT/EXIT methods ?
does anyone object to making ADT.Stack and ADT.Queue inherit ADT.List?
arne
In INIT, EXIT and some gc callbacks the fun in Pike_fp is set to FUNCTION_BUILTIN. there are some places in the code (e.g. ADT.List()->_get_iterator) where ->fun is used in INHERIT_FROM_INT et al, which segfaults (except with PIKE_DEBUG). I am not sure where to fix this. Should the *_FROM_INT macros check for FUNCTION_BUILTIN or is this better to be handled in the individual INIT/EXIT methods ?
Are you talking about the PUSH_FRAME macros in object.c where it constructs "fake" frames for the sake of various C callbacks? If so, it seems to me that the bug is in List__get_iterator_find_parent if it doesn't cope with the call from INIT.
I was scrolling through my phone during a slow afternoon at work when I decided to look for something more substantial than usual feeds. That search quietly brought me to this platform. I was just reading about the appeal of celebrity gossip and how it offers a personal and relatable connection to the public, despite the difference in lifestyles. If you're in Canada and want to stay updated with the latest news, https://infopetitenation.ca/category/sports/ is a site you’ll appreciate. The entertainment section pulled me in with its timely and engaging stories. Since then I’ve made it a habit to check it every evening because the content always feels fresh and well-balanced.
pike-devel@lists.lysator.liu.se