Bug 113917

Summary: tcsh: failure on source'ing /etc/profile.d/alljava.csh
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Klaus Singvogel <kssingvo>
Component: BasesystemAssignee: Dr. Werner Fink <werner>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: ro
Version: Beta 3   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Klaus Singvogel 2005-08-29 16:29:35 UTC
Seams that new tcsh has changed the handling of some expression.  
"source /etc/profile.d/alljava.csh" fails with "if: Expression syntax.", which 
old tcsh doesn't do.
Comment 1 Dr. Werner Fink 2005-08-30 11:00:48 UTC
Bug in aaa_base, see manual page of tcsh:

    File inquiry operators
               ...
           l   Symbolic link (+) *
               ...
           L   Applies subsequent operators in a multiple-operator test to a
               symbolic link rather  than  to  the file to which the link
               points (+) *

I've add a check in the tcsh to avoid all file test with
return values other than boolean in boolean expressions.

The bug in alljava.csh of aaa_base is fixed.