Enhancement suggestion: improve the host not found error message

Chris Pepper pepper at reppep.com
Fri May 3 21:14:01 EST 2002

	When I feed a bogus hostname to rsync, it reports "Undefined 
error". It would be useful if instead it would say something more 
informative, like "Host not found".

						Thanks for rsync!

						Chris Pepper
PS-Please cc: me on any replies -- I'm not a subscriber.

>[imobile:~/Sites/cvs/apache-clone] pepper% rsync -CHaz --delete 
>--stats --progress g45::cvs-apache ~/Sites/cvs/apache-clone/
>rsync: failed to connect to g45: Undefined error: 0
>rsync error: error in socket IO (code 10) at clientserver.c(97)
>[imobile:~/Sites/cvs/apache-clone] pepper% rsync --version
>rsync  version 2.5.5  protocol version 26
>Copyright (C) 1996-2002 by Andrew Tridgell and others
>Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
>               no IPv6, 32-bit system inums, 64-bit internal inums
>rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
>are welcome to redistribute it under certain conditions.  See the GNU
>General Public Licence for details.

Chris Pepper:               <http://www.reppep.com/~pepper/>
Rockefeller University:        <http://www.rockefeller.edu/>

More information about the rsync mailing list