I’m working on a Ruby extension for the ‘ps’ command. I’ve got a
working version for Linux (at home), but I’m hitting a snag with my
Solaris version. It compiles, it runs - then it core dumps. The
problem appears to be something it doesn’t like about the way I
my return struct. There are some debug printf statements in there.
appears to core dump the moment it tries to return a rb_struct. Any
ideas? Something wrong with the way I create the struct? Some
that needs doing?
You don’t store the defined Struct.
Gah! That’s it. Thanks!