X-Spam-Check-By: sourceware.org
Date: Thu, 2 Feb 2006 19:52:42 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: OpenSSH-4.3p1-1
Message-ID: <20060202185242.GT15572@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <announce.20060201152244.GA3765@calimero.vinschen.de> <20060202184133.GA11468@tela.daveroth.dyndns.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20060202184133.GA11468@tela.daveroth.dyndns.org>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Feb  2 10:41, David Rothenberger wrote:
> I get the following error when trying to compile openssh-4.3p1-1
> using cygwin 1.5.19-4.
> 
> scp.c: In function `rsource':
> scp.c:698: error: structure has no member named `d_ino'
> 
> The error comes from this code:
> 
> while ((dp = readdir(dirp)) != NULL) {
>     if (dp->d_ino == 0)
>             continue;
>     if (!strcmp(dp->d_name, ".") || !strcmp(dp->d_name, ".."))
>             continue;
>     ...
> }
> 
> I "solved" the problem with the attached patch, which detects the
> missing d_ino in configure and removes the test and continue if
> d_ino isn't present.
> 
> Is this the appropriate thing to do?

The appropriate thing to do would be to use the binaries from the
distro.  Also, the absence of d_ino in 1.5.19 is temporary.  The
snapshots and the upcoming 1.5.20 release will bring it back.

> Also, Corinna, how did you make the binaries for openssh-4.3p1-1?

See /usr/share/doc/Cygwin/openssh.README.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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/

