delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/05/14/01:40:49

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: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
From: "Gary R. Van Sickle" <g DOT r DOT vansickle AT worldnet DOT att DOT net>
To: <cygwin-apps AT cygwin DOT com>
Subject: RE: Setup 2.218.2.4 (fixed?)
Date: Tue, 14 May 2002 00:40:38 -0500
Message-ID: <NCBBIHCHBLCMLBLOBONKMELACOAA.g.r.vansickle@worldnet.att.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <NCBBIHCHBLCMLBLOBONKEELACOAA.g.r.vansickle@worldnet.att.net>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal

Er, wait, since Pavel's doing the URL thing maybe that can/will subsume this
functionality.

--
Gary R. Van Sickle
Brewer.  Patriot.

> -----Original Message-----
> From: cygwin-apps-owner AT cygwin DOT com
> [mailto:cygwin-apps-owner AT cygwin DOT com]On Behalf Of Gary R. Van Sickle
> Sent: Tuesday, May 14, 2002 12:37 AM
> To: cygwin-apps AT cygwin DOT com
> Subject: RE: Setup 2.218.2.4 (fixed?)
>
>
> >
> > Can I suggest that probably setup.exe needs something like a "suffix"
> > function which operates similarly to strstr but only returns a non-NULL
> > pointer if the string matches the last strlen(string) characters of
> > a path?
> >
>
> What's worked well for me in the past in such situations is to just derive a
> Path class from std::string, and give it members such as GetFilename(),
> GetFullPath(), etc.  I could knock out something analagous pretty
> quick I should
> think, maybe consolidating our two string classes (cistring and String) in the
> process....
>
> --
> Gary R. Van Sickle
> Brewer.  Patriot.
>
>
>

- Raw text -


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