The branch, master has been updated
       via  53749940 Avoid quoting of tilde when it's a destination arg.
       via  52636612 Upgrade verion of actions.
      from  556a2c5b Check for EVP_MD_CTX_copy in crypto lib instead of 
MD5_Init.

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


- Log -----------------------------------------------------------------
commit 537499408948f4e3dd048a861eb58f211e4546f8
Author: Wayne Davison <wa...@opencoder.net>
Date:   Sat Nov 5 09:14:33 2022 -0700

    Avoid quoting of tilde when it's a destination arg.

commit 526366129aea62d01e57b4e6304c5088f065cf5e
Author: Wayne Davison <wa...@opencoder.net>
Date:   Wed Nov 2 23:54:41 2022 -0700

    Upgrade verion of actions.

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

Summary of changes:
 .github/workflows/build.yml | 12 ++++++------
 options.c                   |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)


Changeset truncated at 500 lines:

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 75987fa3..3439e181 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -15,7 +15,7 @@ jobs:
   ubuntu-build:
     runs-on: ubuntu-20.04
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
     - name: prep
       run: |
         sudo apt-get install acl libacl1-dev attr libattr1-dev liblz4-dev 
libzstd-dev libxxhash-dev python3-cmarkgfm openssl wget
@@ -38,7 +38,7 @@ jobs:
     - name: ssl file list
       run: rsync-ssl --no-motd download.samba.org::rsyncftp/ || true
     - name: save artifact
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: ubuntu-bin
         path: |
@@ -53,7 +53,7 @@ jobs:
   macos-build:
     runs-on: macos-latest
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
     - name: prep
       run: |
         brew install automake openssl xxhash zstd lz4 wget
@@ -73,7 +73,7 @@ jobs:
     - name: ssl file list
       run: rsync-ssl --no-motd download.samba.org::rsyncftp/ || true
     - name: save artifact
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: macos-bin
         path: |
@@ -89,7 +89,7 @@ jobs:
     runs-on: windows-2022
     if: (github.event_name == 'schedule' || 
contains(github.event.head_commit.message, '[buildall]'))
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
     - name: cygwin
       run: choco install -y --no-progress cygwin cyg-get
     - name: prep
@@ -112,7 +112,7 @@ jobs:
     - name: ssl file list
       run: bash -c 'PATH="/usr/local/bin:$PATH" rsync-ssl --no-motd 
download.samba.org::rsyncftp/ || true'
     - name: save artifact
-      uses: actions/upload-artifact@v2
+      uses: actions/upload-artifact@v3
       with:
         name: cygwin-bin
         path: |
diff --git a/options.c b/options.c
index d38bbe8d..cfa3e1dc 100644
--- a/options.c
+++ b/options.c
@@ -2510,7 +2510,7 @@ char *safe_arg(const char *opt, const char *arg)
        char *ret;
        if (!protect_args && old_style_args < 2 && (!old_style_args || 
(!is_filename_arg && opt != SPLIT_ARG_WHEN_OLD))) {
                const char *f;
-               if (!trust_sender_args && *arg == '~'
+               if (*arg == '~' && is_filename_arg && !am_sender && 
!trust_sender_args
                 && ((relative_paths && !strstr(arg, "/./"))
                  || !strchr(arg, '/'))) {
                        extras++;


-- 
The rsync repository.

_______________________________________________
rsync-cvs mailing list
rsync-cvs@lists.samba.org
https://lists.samba.org/mailman/listinfo/rsync-cvs

Reply via email to