Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Date: Tue, 7 Jan 2003 16:08:13 -0800 (PST) From: Elfyn McBratney To: cygwin AT cygwin DOT com Subject: Re: where the %^$ is dirname() and basename() Reply-To: cygwin AT cygwin DOT com X-Originating-Ip: [195.92.67.74] Message-Id: <20030108000813.5FF074132@sitemail.everyone.net> Igor, I've just written a basename function, but I've never had to create a patch before... (OT) What patch command line should I use? Or should I use `cvs diff'? Elfyn elfyn AT exposure DOT org DOT uk --- Igor Pechtchanski wrote: >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 >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 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/ _____________________________________________________________ www.smokeJet.com - Free UK Internet Services _____________________________________________________________ Select your own custom email address for FREE! Get you AT yourchoice DOT com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag -- 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/