Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com From: "Gary R. Van Sickle" To: Subject: RE: Setup 2.218.2.4 (fixed?) Date: Tue, 14 May 2002 00:36:50 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal In-Reply-To: <20020514045726.GA23058@redhat.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal > > 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.