Re: [tcljava-dev] How to submit a code change (was: Patch for bug 121678)
Brought to you by:
mdejong
From: Christian K. <chr...@so...> - 2000-11-08 10:42:11
|
Hello, > About this patch, are there test cases from Tcl 8.3 > that fail without this patch? I don't see any > failures in the tests Jacl runs, so I am > guessing that there must be some test failures in > the newer Tcl regression test suite. Perhaps > we need to add those failing tests before > doing a commit of this patch. No, I don't know of any test from Tcl8.3 either. I detected this incompatibility to Tcl8.3, when I was working interactively with jaclsh, where something like the following happended: % open /etc/passwd file0 Oops, normally this is file3! Then I tested some stuff in tclsh8.3, where it seems to be asserted that file0 is an alias for stdin, file1 for stdout and file2 for stderr. This was the same in Jacl, *before* we add the method StdChannel.getChanName()! Due to the introduction of this method the standard channels no longer occupy the first three slots in the "filename table"... > It seem like your patch does away with the > StdChannel.getChanName() method. Would > you not want to call setChanName(String) > perhaps in the StdChannel() constructor? I think that this change will not implement the feature that the standard channels can be named by two different names (e.g. standard input with stdin and file0)... Greetings, Krischan P.S.: Your latest mail has a timestamp of 2:33. Are you working around the clock? Or do you have a computer next to your bed? -- Christian Krone, SQL Datenbanksysteme GmbH Mail mailto:chr...@so... |