www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/06/28/13:09:36

Organization: Ecole Nationale Superieure des Telecommunications, Paris
Date: Mon, 28 Jun 93 18:08:13 +0200
From: David Powers <powers AT inf DOT enst DOT fr>
To: dave AT echologic DOT com
Subject: Re: getcwd -- to drive: or not to drive:
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu

 Content-Length: 484
 
> It seems to me that the best way to resolve the getcwd() problem is to create
> a second library, something like libdos.a.  This would contain a getcwd() that
> behaves like the "standard" dos function instead of the standard unix function.
> The library would contain any other functions that work differently in DOS
> than they do in UNIX.
> 
> Now if you are porting a DOS program, link with libdos.a before the
> other libraries.  If you are porting a UNIX program, leave libdos.a
> out.

At last a sensible (and clearly correct) approach to the Problem!

dP

- Raw text -


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