Received: (qmail 72283 invoked by uid 501); 28 Aug 2000 08:43:09 -0000 Message-Id: <20000828084309.72280.qmail@locus.apache.org> Date: 28 Aug 2000 08:43:09 -0000 From: Changkuk Yoo Reply-To: changkukyoo@hanmail.net To: submit@bugz.apache.org Subject: function parameter has no meaning. X-Send-Pr-Version: 3.110 >Number: 6473 >Category: apache-api >Synopsis: function parameter has no meaning. >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: mistaken >Submitter-Id: apache >Arrival-Date: Mon Aug 28 01:50:01 PDT 2000 >Closed-Date: Sun Sep 10 14:11:52 PDT 2000 >Last-Modified: Sun Sep 10 14:11:52 PDT 2000 >Originator: changkukyoo@hanmail.net >Release: 2.0a6 >Organization: >Environment: SunOS 5.6. compiler : gcc version 2.8.1 >Description: I found the function in main/buff.c . ap_bopenf() has parameter (apr_pool_t *a, const char *name, int flg, int mode). But it doesn't use 'mode' when open file. here is code... rv = apr_open(&file, name, flg, 0, a); so, whenever the file is created, the file has invalid mode such as '0000'. >How-To-Repeat: You can note function in apache/src/main/buff.c >Fix: --- before modify --- rv = apr_open(&file, name, flg, 0, a); --- after modify --- rv = apr_open(&file, name, flg, mode, a); >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: abagchi State-Changed-When: Sun Sep 10 14:11:51 PDT 2000 State-Changed-Why: This problem has been solved by removing the bopenf function from Apache. This function had begun to cause problems since removing IOLs from Apache 2.0. Thank you for the bug report. >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]