On Wed, Jan 15, 2003 at 06:04:06PM -0000, Elfyn McBratney wrote: >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?
I don't want to add any more libiberty routines to cygwin since the licensing is suspect. So, please follow the normal submission rules. Probably miscfuncs.cc is the place to add this. cgf >----- Original Message ----- >From: "Sergey Okhapkin" <[EMAIL PROTECTED]> >To: "'Elfyn McBratney'" <[EMAIL PROTECTED]>; ><[EMAIL PROTECTED]> >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: [EMAIL PROTECTED] >> > [mailto:[EMAIL PROTECTED]] On Behalf Of Elfyn McBratney >> > Sent: Wednesday, January 15, 2003 12:37 PM >> > To: [EMAIL PROTECTED] >> > 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 >> > [EMAIL PROTECTED] >> > >> > >> > >> > >> >> > >