You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by ia...@apache.org on 2002/03/15 01:33:59 UTC

cvs commit: apr/include apr_compat.h

ianh        02/03/14 16:33:59

  Modified:    include  apr_compat.h
  Log:
  add a #define for apr_exploded_time_t in here as well
  this will stop people's current work from breaking
  
  Revision  Changes    Path
  1.12      +2 -0      apr/include/apr_compat.h
  
  Index: apr_compat.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_compat.h,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- apr_compat.h	6 Mar 2002 17:50:02 -0000	1.11
  +++ apr_compat.h	15 Mar 2002 00:33:59 -0000	1.12
  @@ -62,6 +62,8 @@
   #define ap_destroy_pool apr_pool_destroy
   /** @deprecated @see apr_time_exp_t */
   #define ap_exploded_time_t apr_time_exp_t
  +/** @deprecated @see apr_time_exp_t */
  +#define apr_exploded_time_t apr_time_exp_t
   /** @deprecated @see apr_fnmatch */
   #define ap_fnmatch apr_fnmatch
   /** @deprecated @see apr_getopt */
  
  
  

Re: cvs commit: apr/include apr_compat.h

Posted by Justin Erenkrantz <je...@ebuilt.com>.
On Fri, Mar 15, 2002 at 12:33:59AM -0000, ianh@apache.org wrote:
> ianh        02/03/14 16:33:59
> 
>   Modified:    include  apr_compat.h
>   Log:
>   add a #define for apr_exploded_time_t in here as well
>   this will stop people's current work from breaking

-1.  Please revert.

apr_compat.h is only used for ap_ symbols from 1.3.  If your code
used the old apr_exploded_time_t, it should use the new
apr_time_exp_t type.  We do not maintain backwards type compatibility
within APR until it goes 1.0.  -- justin


Re: cvs commit: apr/include apr_compat.h

Posted by Cliff Woolley <jw...@virginia.edu>.
On 15 Mar 2002 ianh@apache.org wrote:

> ianh        02/03/14 16:33:59
>
>   Modified:    include  apr_compat.h
>   Log:
>   add a #define for apr_exploded_time_t in here as well
>   this will stop people's current work from breaking
>   +/** @deprecated @see apr_time_exp_t */
>   +#define apr_exploded_time_t apr_time_exp_t

IIRC, we decided there's no need to include the APR name changes in
apr_compat.h -- that file is only supposed to be for compatibility between
the ap_ and apr_ namespaces... at least until APR 1.0 is finalized.

--Cliff


--------------------------------------------------------------
   Cliff Woolley
   cliffwoolley@yahoo.com
   Charlottesville, VA