|No such thing as a small change|
Re^2: [Ceph::RADOS] Help Debugging Inline Cby three18ti (Scribe)
|on Nov 09, 2013 at 22:36 UTC||Need Help??|
Awesome! Thanks for this.
The first thing I did was add the debugging string, which returned a negative number. Thanks for pointing out where in the original code the negative number was coming from.
Ultimately, replacing the NULL with "" did the trick and I no longer get a segfault!
Any thoughts on moving Inline_Stack_Vars to the beginning of the sub definition?
That sounds like something that would be worth filing a bug report about. What is your reasoning behind the prototyping?
Thanks for your help. If you have any more, general advice on writing a Perl wrapper around a C API I'd love to hear it. This is my first foray into trying to extend a C library so I've got a bit of learning to do :)
Thanks again for your help!