delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
X-MDRemoteIP: | 213.123.247.160 |
X-Return-Path: | prvs=1184dfc6e5=steven AT multiplay DOT co DOT uk |
X-Envelope-From: | steven AT multiplay DOT co DOT uk |
X-MDaemon-Deliver-To: | cygwin AT cygwin DOT com |
Message-ID: | <48D8A2544E5F4742BBBF768D5D61EE39@multiplay.co.uk> |
From: | "Steven Hartland" <steven AT multiplay DOT co DOT uk> |
To: | "Cygwin List" <cygwin AT cygwin DOT com> |
Subject: | inet_pton returns 1 on error |
Date: | Sat, 25 Oct 2008 20:10:58 +0100 |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Outlook Express 6.00.2900.5512 |
X-Spam-Processed: | mail1.multiplay.co.uk, Sat, 25 Oct 2008 20:10:57 +0100 |
X-MDAV-Processed: | mail1.multiplay.co.uk, Sat, 25 Oct 2008 20:10:57 +0100 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |