inet_pton returns 1 on error

Steven Hartland steven@multiplay.co.uk
Sat Oct 25 19:14:00 GMT 2008


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/



More information about the Cygwin mailing list