CRiSP Blog

Typing error

Spent days trying to debug and understand dtrace with this line:

inline struct psinfo_t *curpsinfo = ((struct ps_info_t *) `curproc);

I was following the type casting and type comparing code.

Eventually I spotted a stray underscore.

Can you spot it?

Post created by CRiSP v10.0.2b-b5891

Read more


"CRiSP is the best programmers text editor I have ever used. It is great for programming, script writing, and editing huge text files. It has made me much more efficient at file manipulation and has made my work tasks much easier."