Mail Archives: djgpp/1994/02/08/22:23:38
Gilles--
I don't know about your specific problem, but there seems to be a
bug in the library. In particular, it doesn't handle NULL strings in
the formatted output functions. What seems to be happening is that
NULL strings get optimized to NULL pointers, and then get passed to
functions (in particular, strlen()) that try to actually access the
NULL pointer, generating the exception, rather than recognizing that
it is NULL and return length 0. This is my fist guess anytime I see
exceptions generated by [vsf]*printf.
I am going to try to track it down myself next week, but if you
have access to the library source and can do it yourself before then
and post a fix.... ;-)
--Steve
- Raw text -