tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 31623] New: - [PATCH] setclasspath.sh script os400 problems
Date Sun, 10 Oct 2004 22:35:23 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31623>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31623

[PATCH] setclasspath.sh script os400 problems

           Summary: [PATCH] setclasspath.sh script os400 problems
           Product: Tomcat 5
           Version: 5.0.28
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: jberry@apache.org


The setclasspath.sh script contains some questionable syntax in several areas where the $os400

variable is tested.

These errors lead to warnings from bash/sh if os400 is not set, and additionally mean that
the 
functionality doesn't work as intended (i.e. the test of the os400 variable at one point assumes
that it 
may have a null/non-null value, and at another assumes that it will always have a valid value.

These changes add robustness by not assuming that os400 will always be set to a non-null value,
and 
test it only against "true" when testing whether it is true.

Patch is attached.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message