diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2009-11-12 22:48:15 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2009-11-12 22:48:15 -0800 |
commit | 673d5f3b84d276fb29233d6a3f485ccfe330be13 (patch) | |
tree | b1447ce861394a8b5873589ecb03659f2c5506fe /gc.c | |
parent | 8367c03ef07473cff4f1b6f0645e1ce9ae17c94c (diff) | |
download | txr-673d5f3b84d276fb29233d6a3f485ccfe330be13.tar.gz txr-673d5f3b84d276fb29233d6a3f485ccfe330be13.tar.bz2 txr-673d5f3b84d276fb29233d6a3f485ccfe330be13.zip |
Continuing wchar_t conversion. Making sure all stdio calls
use wide character functions so that there is no illicit
mixing. (But the goal is to replace this usage with txr streams).
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -30,6 +30,7 @@ #include <assert.h> #include <setjmp.h> #include <dirent.h> +#include <wchar.h> #include "lib.h" #include "stream.h" #include "hash.h" @@ -321,9 +322,9 @@ static void sweep(void) continue; if (0 && dbg) { - fprintf(stderr, "%ls: finalizing: ", progname); + fwprintf(stderr, L"%ls: finalizing: ", progname); obj_print(block, std_error); - putc('\n', stderr); + putwc('\n', stderr); } finalize(block); block->t.type |= FREE; |