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 16793] New: - ap_popenf is not used in jserv_openfile of jserv_utils.c
Date Wed, 05 Feb 2003 06:01:05 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16793>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16793

ap_popenf is not used in jserv_openfile of jserv_utils.c

           Summary: ap_popenf is not used in jserv_openfile of jserv_utils.c
           Product: Tomcat 3
           Version: 3.3.1 Final
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: y-iida@secomtrust.net


Summary reads all.
Feel free to enjoy the following.
@@ -211,7 +211,7 @@
 #endif /* ifdef WIN32 */

     /* Open file and check */
-    filedesc=open(filename, flags, mode);
+    filedesc=ap_popenf(p, filename, flags, mode);
     if (filedesc==-1) {
        char *buf=ap_pstrcat(p,"file '",filename,"' can't be opened",NULL);
        return buf;
Thanks.

---------------------------------------------------------------------
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