www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/07/01/10:09:37

Date: Thu, 1 Jul 93 09:46:27 EDT
From: DJ Delorie <dj AT ctron DOT com>
To: M DOT Hessling AT itc DOT gu DOT edu DOT au
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: The continuing saga of getcwd()

> Who can confirm that getcwd() returning the DOS drive WILL be done (DJ) ? The
> next question is WHO makes the changes ? And lastly, WHEN are these changes 
> likely to be available ? 

I can confirm that version 1.11 will have a getcwd() that includes the
drive letter and colon as the first two fields.  Since dropping the
first two charaters is easy enough, there will probably be no version
that returns what getcwd() currently returns.

If any program needs the unix-style one, then (1) it is broken, and
(2) they can #define getcwd to their own function that calls getcwd()
and increments the pointer by two characters.

DJ

- Raw text -


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