httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21330] - it appears that calling apr_file_open with APR_TRUNCATE doesn't truncate the file as expected.
Date Thu, 10 Jul 2003 18:26:09 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=21330>.
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=21330

it appears that calling apr_file_open with APR_TRUNCATE doesn't truncate the file as expected.

Christopher.D.Knight@nasa.gov changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From Christopher.D.Knight@nasa.gov  2003-07-10 18:26 -------
Yup, the test passes...I'm using:

apr_file_open(&file, "my/path", APR_WRITE | APR_CREATE | APR_TRUNCATE,
APR_OS_DEFAULT, pool)

I've even tried adding APR_CREATE to testfile.c and other tests. Strange. I'll
mark this as INVALID and reopen if I can generate a test that recreates the problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message