#3856 tcl 8.5.0 rc0 compile and test error report

obsolete: 8.5b3
open
Vince Darley
5
2007-12-02
2007-11-28
Larry W. Virden
No

platform: sparc solaris 9, Sun C compiler

configured with options \"'--prefix=/projects/sprs_lwv/tcl85' '--enable-shared' '--enable-symbols' '--enable-stubs' '--enable-64bit' '--enable-threads' 'CC=cc'\"

"/vol/tclsrcsol/tcl85/tcl8.5.0/unix/../generic/tclEnv.c", line 20: warning: syntax error: empty declaration

Weirdly, even though this says "syntax error", the compiler appears to have continued...

Two test suite errors exhibit, due to Solaris security policies:

fCmd.test

==== fCmd-27.5 TclFileAttrsCmd - setting one option FAILED
==== Contents of test case:

catch {file delete -force -- foo.tmp}
createfile foo.tmp
set attrs [file attributes foo.tmp]
list [catch {file attributes foo.tmp {*}[lrange $attrs 0 1]} msg] $msg [file
delete -force -- foo.tmp]

---- Result was:
1 {could not set group for file "foo.tmp": not owner} {}
---- Result should have been (exact matching):
0 {} {}
==== fCmd-27.5 FAILED

==== fCmd-27.6 TclFileAttrsCmd - setting more than one option FAILED
==== Contents of test case:

catch {file delete -force -- foo.tmp}
createfile foo.tmp
set attrs [file attributes foo.tmp]
list [catch {file attributes foo.tmp {*}[lrange $attrs 0 3]} msg] $msg [file
delete -force -- foo.tmp]

---- Result was:
1 {could not set group for file "foo.tmp": not owner} {}
---- Result should have been (exact matching):
0 {} {}
==== fCmd-27.6 FAILED

Discussion

    • labels: 105687 --> 37. File System
    • assigned_to: nobody --> vincentdarley
     
  • Logged In: YES
    user_id=79902
    Originator: NO

    Fixed problem in tclEnv.c