delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/29/18:33:10

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: Libgen ??
29 Jan 1999 18:33:10 -0800 :
Message-ID: <Pine.SUN.3.93.990129102815.11065L-100000.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <36B026F7 DOT A0B1B9D8 AT stest DOT ch>
Mime-Version: 1.0
To: Geoff Hayward <geoff DOT hayward AT stest DOT ch>
Cc: gnu-win32 AT cygnus DOT com

On Thu, 28 Jan 1999, Geoff Hayward wrote:
> 
> Thanks, that seems to have solved the problem of basename but this library
> doesn't contain dirname.
> Any suggestions ?

Since these are non-standard functions, the only long term strategy you
should go for is to write a "port" library that does this w/out having
to depend on the target system providing these (which it doesn't have
to).

dirname is rather simple to write, but you need to take care given
the rather wide range of Win32 pathname styles.

Regards,
Mumit

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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