apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gst...@apache.org
Subject cvs commit: apr/include apr_version.h
Date Fri, 10 May 2002 11:15:51 GMT
gstein      02/05/10 04:15:51

  Modified:    include  apr_version.h
  Log:
  Refer to the new guidelines document.
  
  Also reflowed one comment and added some whitespace.
  
  Revision  Changes    Path
  1.5       +8 -20     apr/include/apr_version.h
  
  Index: apr_version.h
  ===================================================================
  RCS file: /home/cvs/apr/include/apr_version.h,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- apr_version.h	22 Apr 2002 08:44:23 -0000	1.4
  +++ apr_version.h	10 May 2002 11:15:51 -0000	1.5
  @@ -76,40 +76,28 @@
    * compiled against a different version of APR by use of the compile-time
    * constants and the use of the run-time query function.
    *
  - * ### we have not defined source/binary compatibility guidelines yet and
  - * ### how those map against these (release) version numbers. a strawman
  - * ### would be the following text:
  + * APR version numbering follows the guidelines specified in:
    *
  - * APR is binary-compatible (an app compiled against one version does not
  - * need to be recompiled to work against another version) for the same
  - * MAJOR and MINOR versions.
  - *
  - * APR is source-compatible (an app needs to be recompiled, but will work
  - * the same) for the same MAJOR version.
  - *
  - * If the MAJOR version changes, then an application may need source changes.
  - *
  - * Note that APR is defined to be forward compatible only, meaning that a
  - * given application will be compatible with APR releases moving forward in
  - * time. An application may not be compatible with earlier versions of an
  - * APR library (even if the major and minor versions match). This restriction
  - * is because a later version of APR can introduce new APIs.
  + *     http://apr.apache.org/versioning.html
    */
   
   /* The numeric compile-time version constants. These constants are the
    * authoritative version numbers for APR. 
    */
  +
   /** major version 
  - * Major API changes that could cause compatibility problems for older programs 
  - * such as structure size changes.  No binary compatibility is possible across
  - * a change in the major version.
  + * Major API changes that could cause compatibility problems for older
  + * programs such as structure size changes.  No binary compatibility is
  + * possible across a change in the major version.
    */
   #define APR_MAJOR_VERSION       0
  +
   /** 
    * Minor API changes that do not cause binary compatibility problems.
    * Should be reset to 0 when upgrading APR_MAJOR_VERSION
    */
   #define APR_MINOR_VERSION       9
  +
   /** patch level */
   #define APR_PATCH_VERSION       0
   
  
  
  

Mime
View raw message