On 09/02/2017 07:06 PM, Jeff Lawson wrote:
How about changing that block of code to be something like:


if {[info commands ::rivet::exit] != ""} {
     rename ::exit ::Rivet::tclcore_exit
     proc ::exit {args} {

         if {$args != "" && [string is integer $args]} {
             eval ::rivet::exit {*}$args
         } else {
             eval ::rivet::exit 0
         }

     }
}



it looks good to me, I haven't tested it yet but I'm going to try it out and commit it to branches/2.3. I've done quite a few changes to this branch after we released in early August and I would like to release a 2.3.5 with all this stuff (thus giving to Ronnie a chance to reiterate his demand for better release notes)

 -- Massimo


---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org
For additional commands, e-mail: rivet-dev-h...@tcl.apache.org

Reply via email to