Changes between Initial Version and Version 1 of Ticket #1024
- Timestamp:
- Jan 13, 2010 11:25:25 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1024
- Property Status changed from new to closed
- Property Resolution changed from to wontfix
-
Ticket #1024 – Description
initial v1 1 1 PJSIP assumes that an {{{snprintf}}} of "%.*s" will nicely print nothing if the supplied arguments are 0 and NULL. Unfortunately some Libc library (such as uClibc) would print "(null)" instead. 2 3 It has been suggested that PJSIP should be changed so that it uses empty string ("") instead of NULL when the string length is zero, but this would require modifications in too many places. And anyway I feel that this is not the right solution. 4 5 We suggest that uClibc should be fixed instead. The offending lines are in {{{libc/stdio/_vprintf.c}}}, just search for "(null)" and replace it with an empty string. 6 7 Thanks Alfonso Ortega for the info.