diff --git a/ChangeLog b/ChangeLog index 4ac1d1f..a4ed4d3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-12-22 21:51-EST Gregory John Casamento + + * Modules/Debuggers/ProjectCenter/PCDebugger.m: Write to + the filehandle via the stream in -[PCDebugger putChar:]. + 2008-12-22 19:56-EST Gregory John Casamento * Modules/Debuggers/ProjectCenter/PCDebugger.h diff --git a/Modules/Debuggers/ProjectCenter/PCDebugger.m b/Modules/Debuggers/ProjectCenter/PCDebugger.m index c123e10..319f858 100644 --- a/Modules/Debuggers/ProjectCenter/PCDebugger.m +++ b/Modules/Debuggers/ProjectCenter/PCDebugger.m @@ -277,6 +277,9 @@ - (void)putChar:(unichar)ch { - fputc(ch, stdInStream); + NSData *data = [NSData dataWithBytes: &ch length: 1]; + NSFileHandle *fh = [standardInput fileHandleForWriting]; + [fh writeData: data]; + // fputc(ch, stdInStream); } @end