You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Aaron Bannert <aa...@clove.org> on 2002/02/01 05:35:32 UTC

Re: cvs commit: apr/include apr_file_info.h apr_file_io.h

On Fri, Feb 01, 2002 at 01:40:39AM -0000, gstein@apache.org wrote:
> gstein      02/01/31 17:40:39
> 
>   Modified:    .        libapr.dsp
>                file_io/unix Makefile.in filestat.c
>                file_io/win32 filestat.c
>                include  apr_file_info.h apr_file_io.h
>   Log:
>   Add apr_file_copy() and apr_file_append() functions. These are written
>   in terms of APR itself, so each platform just uses the one function. A
>   future improvement would use CopyFile(Ex) on Windows and sendfile() on
>   sendfile-capable systems.
>   
>   Also add apr_file_attrs_set() for setting file attributes in a logical
>   fashion, rather than based on (Posix) permission bits. This is not
>   (yet) implemented for Windows, and still needs a way to turn *off* the
>   readonly and executable modes.
>   
>   Submitted by: Philip Martin <ph...@codematters.co.uk>

I think you forgot to add the copy.c files from your tree, perhaps?

I'm getting:

gmake[1]: Entering directory `/home/aaron/work/httpd-2.0/srclib/apr/file_io/unix'
gmake[1]: *** No rule to make target `copy.lo', needed by `local-all'.  Stop.
gmake[1]: Leaving directory `/home/aaron/work/httpd-2.0/srclib/apr/file_io/unix'

(Justin pointed the build failure, BTW)

-aaron

Re: cvs commit: apr/include apr_file_info.h apr_file_io.h

Posted by Justin Erenkrantz <je...@ebuilt.com>.
On Thu, Jan 31, 2002 at 08:35:32PM -0800, Aaron Bannert wrote:
> On Fri, Feb 01, 2002 at 01:40:39AM -0000, gstein@apache.org wrote:
> > gstein      02/01/31 17:40:39
> > 
> >   Modified:    .        libapr.dsp
> >                file_io/unix Makefile.in filestat.c
> >                file_io/win32 filestat.c
> >                include  apr_file_info.h apr_file_io.h
> >   Log:
> >   Add apr_file_copy() and apr_file_append() functions. These are written
> >   in terms of APR itself, so each platform just uses the one function. A
> >   future improvement would use CopyFile(Ex) on Windows and sendfile() on
> >   sendfile-capable systems.
> >   
> >   Also add apr_file_attrs_set() for setting file attributes in a logical
> >   fashion, rather than based on (Posix) permission bits. This is not
> >   (yet) implemented for Windows, and still needs a way to turn *off* the
> >   readonly and executable modes.
> >   
> >   Submitted by: Philip Martin <ph...@codematters.co.uk>
> 
> I think you forgot to add the copy.c files from your tree, perhaps?

I just added a version of copy.c that Philip submitted to dev@svn to
the APR repository.

Should be okay now.  -- justin


Re: cvs commit: apr/include apr_file_info.h apr_file_io.h

Posted by Justin Erenkrantz <je...@ebuilt.com>.
On Thu, Jan 31, 2002 at 08:35:32PM -0800, Aaron Bannert wrote:
> On Fri, Feb 01, 2002 at 01:40:39AM -0000, gstein@apache.org wrote:
> > gstein      02/01/31 17:40:39
> > 
> >   Modified:    .        libapr.dsp
> >                file_io/unix Makefile.in filestat.c
> >                file_io/win32 filestat.c
> >                include  apr_file_info.h apr_file_io.h
> >   Log:
> >   Add apr_file_copy() and apr_file_append() functions. These are written
> >   in terms of APR itself, so each platform just uses the one function. A
> >   future improvement would use CopyFile(Ex) on Windows and sendfile() on
> >   sendfile-capable systems.
> >   
> >   Also add apr_file_attrs_set() for setting file attributes in a logical
> >   fashion, rather than based on (Posix) permission bits. This is not
> >   (yet) implemented for Windows, and still needs a way to turn *off* the
> >   readonly and executable modes.
> >   
> >   Submitted by: Philip Martin <ph...@codematters.co.uk>
> 
> I think you forgot to add the copy.c files from your tree, perhaps?

I just added a version of copy.c that Philip submitted to dev@svn to
the APR repository.

Should be okay now.  -- justin


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org