svn commit: r1924794 - in /subversion/branches/1.14.x: ./ STATUS notes/knobs subversion/include/svn_types.h

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <[email protected]>
Author: svn-role
Date: Sat Apr  5 04:00:06 2025
New Revision: 1924794

URL: http://svn.apache.org/viewvc?rev=1924794&view=rev
Log:
Merge r1924100 from trunk:

 * r1924100
   Deprecate and disable the SVN_UNALIGNED_ACCESS_IS_OK macro.
   Justification:
     Prevent future problems on newer compilers on higher optimization
     settings.
   Votes:
     +1: dsahlberg, brane, jamessan

Modified:
    subversion/branches/1.14.x/   (props changed)
    subversion/branches/1.14.x/STATUS
    subversion/branches/1.14.x/notes/knobs
    subversion/branches/1.14.x/subversion/include/svn_types.h

Propchange: subversion/branches/1.14.x/
------------------------------------------------------------------------------
  Merged /subversion/trunk:r1924100

Modified: subversion/branches/1.14.x/STATUS
URL: http://svn.apache.org/viewvc/subversion/branches/1.14.x/STATUS?rev=1924794&r1=1924793&r2=1924794&view=diff
==============================================================================
--- subversion/branches/1.14.x/STATUS (original)
+++ subversion/branches/1.14.x/STATUS Sat Apr  5 04:00:06 2025
@@ -36,14 +36,6 @@ Veto-blocked changes:
 Approved changes:
 =================
 
- * r1924100
-   Deprecate and disable the SVN_UNALIGNED_ACCESS_IS_OK macro.
-   Justification:
-     Prevent future problems on newer compilers on higher optimization
-     settings.
-   Votes:
-     +1: dsahlberg, brane, jamessan
-
 * r1924143
   Remove optimized unaligned-access code paths.
   Justification:
@@ -58,4 +50,3 @@ Approved changes:
     Allow swig-rb with x64-mswin64 and gcc 15
   Votes:
     +1: jun66j5, jamessan
-

Modified: subversion/branches/1.14.x/notes/knobs
URL: http://svn.apache.org/viewvc/subversion/branches/1.14.x/notes/knobs?rev=1924794&r1=1924793&r2=1924794&view=diff
==============================================================================
--- subversion/branches/1.14.x/notes/knobs (original)
+++ subversion/branches/1.14.x/notes/knobs Sat Apr  5 04:00:06 2025
@@ -38,7 +38,7 @@ SUFFIX_LINES_TO_KEEP
 SVN_FS_FS_DEFAULT_MAX_FILES_PER_DIR
 SVN_FS_FS_MAX_LINEAR_DELTIFICATION
 SVN_FS_FS_MAX_DELTIFICATION_WALK
-SVN_UNALIGNED_ACCESS_IS_OK
+SVN_UNALIGNED_ACCESS_IS_OK (deprecated)
 
 2.2 Features
 
@@ -164,12 +164,14 @@ SVN_I_LIKE_LATENCY_SO_IGNORE_HTTPV2
 
 3.8 SVN_UNALIGNED_ACCESS_IS_OK
 
+  DEPRECATED, unused. The rest of this entry is historical.
+
   Scope:     (global)
   Purpose:   enable data accesss optimizations.
              If your target CPU supports unaligned memory access without
              significant performance penalties, you should enable this
              optimization as it allows for processing 4 or 8 bytes at
-             once instead of just one byte at a time. 
+             once instead of just one byte at a time.
   Range:     0 1
   Default:   platform dependant (see svn_types.h)
   Suggested: 0

Modified: subversion/branches/1.14.x/subversion/include/svn_types.h
URL: http://svn.apache.org/viewvc/subversion/branches/1.14.x/subversion/include/svn_types.h?rev=1924794&r1=1924793&r2=1924794&view=diff
==============================================================================
--- subversion/branches/1.14.x/subversion/include/svn_types.h (original)
+++ subversion/branches/1.14.x/subversion/include/svn_types.h Sat Apr  5 04:00:06 2025
@@ -124,16 +124,12 @@ extern "C" {
  * if unaligned access is supported for integers.
  *
  * @since New in 1.7.
+ * @deprecated Provided for backward compatibility with the 1.14 API.
  */
-#ifndef SVN_UNALIGNED_ACCESS_IS_OK
-# if defined(_M_IX86) || defined(i386) \
-     || defined(_M_X64) || defined(__x86_64) \
-     || defined(__powerpc__) || defined(__ppc__)
-#  define SVN_UNALIGNED_ACCESS_IS_OK 1
-# else
-#  define SVN_UNALIGNED_ACCESS_IS_OK 0
-# endif
+#ifdef SVN_UNALIGNED_ACCESS_IS_OK
+#  undef SVN_UNALIGNED_ACCESS_IS_OK
 #endif
+#define SVN_UNALIGNED_ACCESS_IS_OK 0
 
 
 
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.