Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Changeset 3919

Show
Ignore:
Timestamp:
08/28/08 16:08:13 (3 months ago)
Author:
kris
Message:

fixes #1272 :: tango.util.log.Trace synchronizes on incorrect object

Thanks schveiguy :)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tango/util/log/Trace.d

    r3650 r3919  
    5454static this() 
    5555{ 
    56         Trace = new SyncPrint (Cerr.stream, Cerr, !Cerr.redirected); 
     56        Trace = new SyncPrint (Cerr.stream, !Cerr.redirected); 
    5757} 
    5858 
     
    8282        **********************************************************************/ 
    8383 
    84         this (OutputStream output, Object mutex, bool flush=false) 
    85         { 
    86                 this.mutex = mutex
     84        this (OutputStream output, bool flush=false) 
     85        { 
     86                this.mutex = cast(Object) output
    8787                this.output = output; 
    8888                this.flushLines = flush;