Mail Archives: cygwin-apps/2002/03/27/09:12:42

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
content-class: urn:content-classes:message
Subject: RE: Patch for Setup.exe problem and for
MIME-Version: 1.0
Date: Thu, 28 Mar 2002 01:11:03 +1100
Message-ID: <>
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Ton van Overbeek" <tvoverbe AT cistron DOT nl>, <cygwin-apps AT cygwin DOT com>,
<cygwin-patches AT cygwin DOT com>
Cc: <jonas_eriksson AT home DOT se>
X-MIME-Autoconverted: from quoted-printable to 8bit by id g2RECfU00505

> -----Original Message-----
> From: Ton van Overbeek [mailto:tvoverbe AT cistron DOT nl] 
> Sent: Thursday, March 28, 2002 1:03 AM
> To: cygwin-apps AT cygwin DOT com; cygwin-patches AT cygwin DOT com
> Cc: jonas_eriksson AT home DOT se
> Subject: Patch for Setup.exe problem and for
> Found the problem causing the segment violation and probably 
> causing Jonas Eriksson's problem. It is a typical case of 
> 'off by 1'. In PickView::set_headers the loop filling the 
> window header does one iteration too much, resulting in a 
> call to DoInsertItem with a NULL string pointer and hence a 
> crash following. While debugging this I could not compile the 
> new ( the
> c++ version of the original mklink2.c). It seems three & (address of 
> c++ operator)
> have disappeared in the transition. Putting them back made 
> the compiler happy. Is this OK Robert ?

I'll check the off-by-one fix in tomorrow, as I'm off to bed now. 

As for the &'s, I wonder if it's a w32api reference issue? The compiler
complains if they are present for me.

I have the latest-and-greatest w32api headers on my system - what do you

Thanks for finding the off-by-one... blush.


- Raw text -

  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019