Author: kotkov
Date: Mon Dec 15 12:28:44 2025
New Revision: 1930586
Log:
* subversion/include/private/svn_io_private.h
(SVN_IO__WIN_TIME_UNCHANGED, SVN_IO__WIN_TIME_SUSPEND_UPDATE): Enclose
macro values in parentheses to prevent potential operator precedence
issues during expansion.
Modified:
subversion/trunk/subversion/include/private/svn_io_private.h
Modified: subversion/trunk/subversion/include/private/svn_io_private.h
==============================================================================
--- subversion/trunk/subversion/include/private/svn_io_private.h Mon Dec
15 09:31:10 2025 (r1930585)
+++ subversion/trunk/subversion/include/private/svn_io_private.h Mon Dec
15 12:28:44 2025 (r1930586)
@@ -200,7 +200,7 @@ svn_io__win_rename_open_file(apr_file_t
Corresponds to the predefined value of "0" in:
https://docs.microsoft.com/windows-hardware/drivers/ddi/wdm/ns-wdm-_file_basic_information#remarks
*/
-#define SVN_IO__WIN_TIME_UNCHANGED APR_INT64_MIN + 0
+#define SVN_IO__WIN_TIME_UNCHANGED (APR_INT64_MIN + 0)
/* Special value that indicates that the file system should suspend updates
for timestamp values such as LastAccessTime, LastWriteTime, and ChangeTime
@@ -208,7 +208,7 @@ svn_io__win_rename_open_file(apr_file_t
Corresponds to the predefined value of "-1" in:
https://docs.microsoft.com/windows-hardware/drivers/ddi/wdm/ns-wdm-_file_basic_information#remarks
*/
-#define SVN_IO__WIN_TIME_SUSPEND_UPDATE APR_INT64_MIN + 1
+#define SVN_IO__WIN_TIME_SUSPEND_UPDATE (APR_INT64_MIN + 1)
/* This Windows-specific function sets the basic file information using an
existing file handle. The SET_MTIME will be set as the new LastWriteTime