delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/07/20:03:29

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 7 Jan 2003 18:49:32 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Robert Bercik <robertjbercik AT yahoo DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: where the %^$ is dirname() and basename()
In-Reply-To: <20030107231903.44790.qmail@web14707.mail.yahoo.com>
Message-ID: <Pine.GSO.4.44.0301071844380.10883-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

Robert,

When you do implement them, you might as well help other programmers in
need of them by submitting them as patches against the current cygwin CVS
to cygwin-patches at cygwin dot com.  See <http://cygwin.com/contrib.html>
for patch conventions.
	Igor

On Tue, 7 Jan 2003, Robert Bercik wrote:

> crap,
>
>    they're so damn simple, I'll write the damn things...
>
> thanks,
> -Rob
> --- Faylor <cgf-cygwin AT cygwin DOT com> wrote:
> > On Tue, Jan 07, 2003 at 01:37:03PM -0800, Robert
> > Bercik wrote:
> > >Cygwin must have these functions somewhere, but for the life of me i
> > >can't find the libs or headers.  Anybody know where dirname() or
> > >basename() are located?
> >
> > Let me say it again: There is no mystery here.  If
> > you get a linker
> > error like: "undefined reference to '_basename'", in
> > 90% of the cases it
> > means exactly what it implies: basename is not
> > available.
> >
> > Whether it should be available, whether it is a
> > crime against man and
> > nature that it is not available, whether the lack of
> > the function
> > greatly impacts someone's ability to do their job,
> > is another issue, of
> > course.
> >
> > Until someone provides working implementations of
> > basename and dirname
> > for cygwin, I suggest that you work around the
> > problem.
> >
> > cgf

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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