Well, except that when this happens from within Tcl it appears to completely
violate Tcl's semantics about variables:
set env(CLASSPATH) ""
puts $env(CLASSPATH)
gives an error!!!!!
While this may be a _peculiarity_ of Windows, I think Tcl needs to be coded
to avoid this, not to label it as a bug...
Vince.
> -----Original Message-----
> From: Scott Redman [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 01, 1999 9:10 PM
> To: tcljava
> Subject: [Tcl Java] Re: [Tcl Java] Re: [Tcl Java] problem on win98/95
>
>
> Removing an env var that is empty is a Windows platform issue,
> not the fault of Tcl.
>
> Scott Stanton fixed the pkgIndex.tcl to work properly, even
> with the empty env variable issue.
>
> -- Scott
>
> Moses DeJong wrote:
> >
> > On Tue, 30 Nov 1999, Scott Redman wrote:
> >
> > That should not be a problem. I put in a check for this
> > error condition myself. There is some code in the pkgIndex.tcl
> > file that looks in env for CLASSPATH spelled with some mix
> > of lowercase letters. The real problem is that Tcl removes
> > a env var that is set to "". A much better discussion of
> this problem
> > can be found on comp.lang.tcl.
> >
>
> ----------------------------------------------------------------
> The TclJava mailing list is sponsored by Scriptics Corporation.
> To subscribe: send mail to [EMAIL PROTECTED]
> with the word SUBSCRIBE as the subject.
> To unsubscribe: send mail to [EMAIL PROTECTED]
> with the word UNSUBSCRIBE as the subject.
> To send to the list, send email to '[EMAIL PROTECTED]'.
>
----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe: send mail to [EMAIL PROTECTED]
with the word SUBSCRIBE as the subject.
To unsubscribe: send mail to [EMAIL PROTECTED]
with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'.