apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Rooney" <roo...@electricjellyfish.net>
Subject Re: apr_file_copy/append should be binary?
Date Sat, 11 Mar 2006 23:42:48 GMT
On 3/11/06, Jeff Trawick <trawick@gmail.com> wrote:
> On 3/11/06, Max Bowsher <maxb1@ukf.net> wrote:
> > It seems to me that apr_file_copy() and apr_file_append() should behave
> > in a raw byte-for-byte manner, always.
>
> +1
>
> if the source file is in native text format (or both files for
> append), the right thing will happen...  if the source file is not in
> native text format, they can't expect apr_file_copy() to be used in
> lieu of unix2dos-type command

+1

-garrett

Mime
View raw message