Mercurial > projects > ldc
diff tango/tango/io/Console.d @ 139:0ab29b838084 trunk
[svn r143] Fixed: a few bugs in debug information, still only line info, but should be correct files now :)
Fixed: tango.io.Console seems to be working now.
author | lindquist |
---|---|
date | Tue, 22 Jan 2008 00:01:16 +0100 |
parents | 0e28624814e8 |
children |
line wrap: on
line diff
--- a/tango/tango/io/Console.d Fri Jan 18 20:13:19 2008 +0100 +++ b/tango/tango/io/Console.d Tue Jan 22 00:01:16 2008 +0100 @@ -23,7 +23,6 @@ version (Posix) private import tango.stdc.posix.unistd; // needed for isatty() -private extern(C) int printf(char*, ...); /******************************************************************************* @@ -70,7 +69,6 @@ private this (Conduit conduit, bool redirected) { - printf("Console.Input.this(%p, %d)\n", conduit, redirected); assert (conduit); redirect = redirected; buffer = new Buffer (conduit); @@ -599,7 +597,6 @@ private this (Handle handle) { - printf("Console.Conduit.this(%d)\n", handle); reopen (handle); redirected = (isatty(handle) is 0); } @@ -627,18 +624,12 @@ static this () { - printf("STATIC INIT FOR CONSOLE\n"); - printf("Cin conduit\n"); auto conduit = new Console.Conduit (0); - assert(conduit); - printf("Cin input\n"); Cin = new Console.Input (conduit, conduit.redirected); - printf("Cout\n"); conduit = new Console.Conduit (1); Cout = new Console.Output (conduit, conduit.redirected); - printf("Cerr\n"); conduit = new Console.Conduit (2); Cerr = new Console.Output (conduit, conduit.redirected); }