apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mt...@apache.org>
Subject Re: svn commit: r1044440 - /apr/apr/trunk/file_io/unix/seek.c
Date Fri, 10 Dec 2010 17:19:07 GMT
On 12/10/2010 06:06 PM, mturk@apache.org wrote:
> Author: mturk
> Date: Fri Dec 10 17:06:49 2010
> New Revision: 1044440
>
> URL: http://svn.apache.org/viewvc?rev=1044440&view=rev
> Log:
> Fix file_trunc for buffered files. Make sure the write buffer is flushed before truncate
call
>
> Modified:
>      apr/apr/trunk/file_io/unix/seek.c
>


Any problem with porting that to the stable branches?
In case of buffered files apr_file_trunc just doesn't
work if there is something in the write buffer below
the truncation point.


Regards
-- 
^TM

Mime
View raw message