[SCM] The rsync repository. - branch master updated

Rsync CVS commit messages rsync-cvs at lists.samba.org
Sat Jun 18 18:17:31 UTC 2022


The branch, master has been updated
       via  4f741add Fix configure's "signed char" check
       via  355b81d8 Avoid -pedantic-errors on non-x86 for the moment.
      from  6f355533 Fix grabbing version value in configure.

https://git.samba.org/?p=rsync.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 4f741addbd5fd59de2c2655e5a044d6c2fe44aa5
Author: Wayne Davison <wayne at opencoder.net>
Date:   Sat Jun 18 10:19:57 2022 -0700

    Fix configure's "signed char" check
    
    When pedantic errors are enabled, SIGNED_CHAR_OK was no longer
    being set correctly. This would cause the checksum code to use
    "char" instead of "signed char", and if the default for a "char"
    was unsigned, the checksum code would fail to compute the right
    hash values.  Fixes bug #317.

commit 355b81d8bce3d91c4bc5e86e67d3fdb225eef99e
Author: Wayne Davison <wayne at opencoder.net>
Date:   Sat Jun 18 09:42:16 2022 -0700

    Avoid -pedantic-errors on non-x86 for the moment.

-----------------------------------------------------------------------

Summary of changes:
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/configure.ac b/configure.ac
index 29698bc0..37dbb18a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1117,7 +1117,7 @@ else
 fi
 
 AC_CACHE_CHECK([for unsigned char],rsync_cv_SIGNED_CHAR_OK,[
-AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[signed char *s = ""]])],[rsync_cv_SIGNED_CHAR_OK=yes],[rsync_cv_SIGNED_CHAR_OK=no])])
+AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[signed char *s = (signed char *)""]])],[rsync_cv_SIGNED_CHAR_OK=yes],[rsync_cv_SIGNED_CHAR_OK=no])])
 if test x"$rsync_cv_SIGNED_CHAR_OK" = x"yes"; then
     AC_DEFINE(SIGNED_CHAR_OK, 1, [Define to 1 if "signed char" is a valid type])
 fi


-- 
The rsync repository.



More information about the rsync-cvs mailing list