POSSIBLY because you ar creating the strings badly for lite-c.
You really should be using
Code:
STRING* pan_str = str_create("");
STRING* editor_temp = str_create("");
at the start of your function and
Code:
str_remove(pan_str);
str_remove(editor_temp;
at the end to release the allocated space.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial