1. 09 Sep, 2007 6 commits
    • Wayne Davison's avatar
      - If the user specifies a source arg with a hostspec in it in a local- · f7e5068d
      Wayne Davison authored
        source transer, complain and exit.  This can help to find option
        problems were an arg to an option turns into a local-source arg,
        and the real remote-source arg will now get rejected rather than
        attempting to find a file with a colon in its name.
      - We now support the ability to specify more than one remote arg using
        the ":FILENAME" idiom for additional remote filenames.
      - If the --protect-args (-s) option was specified, we send just the
        "--server -s" options to the remote rsync when it is starting, and
        then the real args are sent over the socket.
      f7e5068d
    • Wayne Davison's avatar
      - Renamed read_line() to be read_line_old(). · 67b8f3df
      Wayne Davison authored
      - Renamed read_filesfrom_line() to read_line() and added args to allow
        the caller to control how it works.
      - Added a new function, read_args(), that reads args from a file
        descriptor (using read_line()) and expands any wildcards in them.
        This function has relocated daemon code (from clientserver.c) and
        is also used by the new --protect-args (-s) option.  The new code
        also got rid of an extra strdup() that wasn't needed.
      67b8f3df
    • Wayne Davison's avatar
    • Wayne Davison's avatar
      - Made start_socket_client() and start_inband_exchange() take a variable · 7909e65f
      Wayne Davison authored
        number of remote args.
      - We now exchange a "VERSION.SUBVERSION" value in the initial @RSYNCD
        message.  This is backward compatible with pre-protocol 30 rsyncs,
        and fixes a problem where rsync daemons weren't checking if they were
        speaking a compatible pre-release protocol.
      - Moved the protocol-handling code (which was in two places) into a new
        function:  exchange_protocols().
      - Protocol 30 now sends/receives the daemon args using NULLs as a separator
        rather than a newline.
      - Moved the arg-reading code into a new function in io.c:  read_args().
      7909e65f
    • Wayne Davison's avatar
    • Wayne Davison's avatar
  2. 08 Sep, 2007 3 commits
  3. 04 Sep, 2007 6 commits
  4. 03 Sep, 2007 16 commits
  5. 02 Sep, 2007 4 commits
  6. 01 Sep, 2007 5 commits