This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Setup 2.218.2.4 (fixed?)


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@cygwin.com
> [mailto:cygwin-apps-owner@cygwin.com]On Behalf Of Gary R. Van Sickle
> Sent: Tuesday, May 14, 2002 12:37 AM
> To: cygwin-apps@cygwin.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.
>
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]