This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: Where to put my basename() and dirname() implementation...
- From: "Elfyn McBratney" <elfyn-cygwin at exposure dot org dot uk>
- To: <cygwin-patches at cygwin dot com>
- Date: Wed, 15 Jan 2003 18:04:06 -0000
- Subject: Re: Where to put my basename() and dirname() implementation...
- References: <59A835EDCDDBEB46BC75402F4604D5528F75D6@elmer>
Doooh! Thanks for the heads up Sergey. It kinda seems pointless just adding
a dirname() function but what the hell... Any inkling where i should put
this lone sub?
Elfyn
elfyn@exposure.org.uk
----- Original Message -----
From: "Sergey Okhapkin" <sos@sokhapkin.dyndns.org>
To: "'Elfyn McBratney'" <elfyn-cygwin@exposure.org.uk>;
<cygwin-patches@cygwin.com>
Sent: Wednesday, January 15, 2003 5:56 PM
Subject: RE: Where to put my basename() and dirname() implementation...
> Basename() is implemented in libiberty already, just modify cygwin.din
> :-)
>
> > -----Original Message-----
> > From: cygwin-patches-owner@cygwin.com
> > [mailto:cygwin-patches-owner@cygwin.com] On Behalf Of Elfyn McBratney
> > Sent: Wednesday, January 15, 2003 12:37 PM
> > To: cygwin-patches@cygwin.com
> > Subject: Where to put my basename() and dirname() implementation...
> >
> >
> > I have finished my basename() and dirname() (so long for
> > something so simple
> > ;-) implementation and I have two questions:
> >
> > 1) Where would be the best place to put these functions? I
> > was thinking dir.cc or path.cc?
> > 2) What header file (winsup/cygwin/include) should I put the
> > prototypes into? On my sun and redhat box they're in libgen.h
> > so should I follow this convention?
> >
> > Once I have these answered I will submit the patch here.
> >
> > Elfyn
> > elfyn@exposure.org.uk
> >
> >
> >
> >
>
>