OpenBSD/src 1ph9et0usr.bin/rsync sender.c uploader.c

   new attempt to sync with kristaps up to Sun Feb 17 2019

   339cf5998c0c022623cd68de50722b6c14543952 Push "error trail" further into code.

   baf58ce5fe1bc6ce431b3b0ac8264b83ae8c7d02 Document all arguments.  Add
   common -av usage.  Remove bits about not supporting anything but
   files/dirs.

   821a811a8c80e52fb56b241fc65a16cae1b4fb2c Disambiguate as prodded by deraadt@

   6c4475b8f226e9031ec0ec1b3f14f7d347132c87 Add -h to usage string

   4d344ae6156873b44c95de0c1ed629e637c2d7ab Clarify error message
   language, use service name instead of port, specify that the socket is
   SOCK_STREAM.  From deraadt@.  Tweaked for lowercase messages.

   f3ec049e76257fc96bcdc872f1d3b967b98f3eb6 In consideration to benno@'s
   comments, let the mktemp functions propogate an errno handled by the
   caller.  Also keep the original line lengths.  While in mktemp.c, make
   some defines into an enum.

   e116c2bd00e634b56e4276120135915ceaa31cf2 Put the FSM of the sender
   into its own function.  Put dry_run ack and end of phase ack into the
   send buffer too, further reducing the possibility of deadlock.

   c7745aa4c7394ca89d841f8ee76782256d694340 Make the sender write loop be
   fully non-blocking.  This frees us of deadlocking the protocol because
   the sender will always be able to pull down data.

   93c7b4843e80aeac2ec6ae6ffc395df4deaf4a31 Remove "yoda" notation to be
   more in tune with OpenBSD.  Most found by deraadt@.
VersionDeltaFile
1.16+199-169usr.bin/rsync/sender.c
1.17+105-71usr.bin/rsync/uploader.c
1.7+76-45usr.bin/rsync/mktemp.c
1.13+7-16usr.bin/rsync/blocks.c
1.6+11-11usr.bin/rsync/log.c
1.18+8-8usr.bin/rsync/socket.c
1.21+7-6usr.bin/rsync/extern.h
1.30+6-5usr.bin/rsync/main.c
1.17+5-5usr.bin/rsync/downloader.c
1.10+5-5usr.bin/rsync/client.c
1.7+0-6usr.bin/rsync/TODO.md
1.12+2-3usr.bin/rsync/io.c
+431-35012 files

UnifiedSplitRaw