tcl-websh-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@dedasys.com (David N. Welton)
Subject Re: Fwd: Re: open bug list / bug filecontext
Date Fri, 30 Nov 2001 18:35:47 GMT
Simon Hefti <hefti@netcetera.ch> writes:

> David,
> 
> > So is there anything wrong with making it a required option within
> > filecontext itself?
> 
> No. I like your proposal.

Ok, I added the following:

    if {[info exists ${ctxmgrname}::_path] == 0} {
	error "web::filecontext requires a -path argument.  Use '-path %d' if you would like to keep
the default behavior."
    }

and closed the bug.  Note that there were something like 10 test
cases, and one of the examples that had to be changed.  This change
will probably break existing applications that make extensive use of
::filecontext.

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
Free Software: http://people.debian.org/~davidw/
   Apache Tcl: http://tcl.apache.org/
     Personal: http://www.efn.org/~davidw/

Mime
View raw message