This is the mail archive of the
cygwin
mailing list for the Cygwin project.
inet_pton returns 1 on error
- From: "Steven Hartland" <steven at multiplay dot co dot uk>
- To: "Cygwin List" <cygwin at cygwin dot com>
- Date: Sat, 25 Oct 2008 20:10:58 +0100
- Subject: inet_pton returns 1 on error
When given an invalid mask such as "24" cygwin's inet_pton
returns 1 instead of either 0 or -1 signifying an error.
This causes rsync to fail access checks for CIDR notation.
Regards
Steve
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/