apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Gross <mail...@devspace.com>
Subject Re: [patch apr_file_io.h] apr_file_mktemp declaration
Date Fri, 19 Apr 2002 11:23:32 GMT
At 18:14 16/04/2002 +0800, Stas Bekman wrote:
>match the declaration in the .c and the doc, which is "template".
>
>Index: srclib/apr/include/apr_file_io.h
>===================================================================
>RCS file: /home/cvspublic/apr/include/apr_file_io.h,v
>retrieving revision 1.120
>diff -u -r1.120 apr_file_io.h
>--- srclib/apr/include/apr_file_io.h    13 Mar 2002 20:39:14 -0000      1.120
>+++ srclib/apr/include/apr_file_io.h    16 Apr 2002 10:11:44 -0000
>@@ -680,7 +680,7 @@
>   * array.
>   *
>   */
>-APR_DECLARE(apr_status_t) apr_file_mktemp(apr_file_t **fp, char *tmplt,
>+APR_DECLARE(apr_status_t) apr_file_mktemp(apr_file_t **fp, char *template,
>                                            apr_int32_t flags, apr_pool_t *p);
>
>  #ifdef __cplusplus
>

Ick I just downloaded the latest sources and I had compilation 
problems.  template is a reserved word in the C++ language.  Could this be 
changed please?  I had to so that I could compile my sources.

Thanks


Christian Gross
Software Engineering Consultant
http://www.devspace.com
North America: 1-450-675-4208
Europe +41.1.701.1166



Mime
View raw message