mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-17 08:01:24 +00:00
Write to the stream directly
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@27411 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
dad9dde30e
commit
cd2924d9ab
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-12-22 21:51-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Modules/Debuggers/ProjectCenter/PCDebugger.m: Write to
|
||||
the filehandle via the stream in -[PCDebugger putChar:].
|
||||
|
||||
2008-12-22 19:56-EST Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Modules/Debuggers/ProjectCenter/PCDebugger.h
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue