… | |
… | |
16 | along with this program; if not, write to the Free Software |
16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
17 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
18 | */ |
18 | */ |
19 | |
19 | |
20 | #include "config.h" |
20 | #include "config.h" |
|
|
21 | #include "compat.h" |
21 | #include <stdarg.h> |
22 | #include <stdarg.h> |
22 | #include <stdio.h> |
23 | #include <stdio.h> |
23 | #include <stdlib.h> |
24 | #include <stdlib.h> |
|
|
25 | #include "common.h" |
|
|
26 | |
|
|
27 | #ifdef DMALLOC |
|
|
28 | #include <dmalloc.h> |
|
|
29 | #endif |
|
|
30 | |
24 | |
31 | |
25 | char *psiconv_make_printable(const char *s) |
32 | char *psiconv_make_printable(const char *s) |
26 | { |
33 | { |
27 | int i; |
34 | int i; |
28 | char *res = malloc(strlen(s) + 1); |
35 | char *res = malloc(strlen(s) + 1); |