On 06/10/2010 01:27 PM, Walter Bright wrote:
The %*s should be %.*s
Fixed. Please svn up.
Also, the format will still stop anyway on encountering a 0 byte. Then, there's the overhead of fprintf itself. Better to just replace the thing with a call to fwrite: enforce(fwrite(args[0].ptr, T.sizeof, args[0].length, .stdout.p.handle) == args[0].length);
I need to print an \n too, and atomically at that. Andrei _______________________________________________ dmd-beta mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/dmd-beta
