www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/04/09:54:29

Date: Thu, 4 Feb 1999 15:29:09 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Andris Pavenis <pavenis AT lanet DOT lv>
cc: Hans-Peter Fischer <g DOT fischer AT heidenheim DOT com>, djgpp AT delorie DOT com,
Robert Hoehne <robert DOT hoehne AT gmx DOT net>
Subject: Re: RHIDE bug
In-Reply-To: <B0000070409@stargate.astr.lu.lv>
Message-ID: <Pine.SUN.3.91.990204152627.7801h-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Thu, 4 Feb 1999, Andris Pavenis wrote:

> Here is my patch.

Why did you need to save both the current drive and directory, and 
restore them both, under __DJGPP__?  DJGPP's `getcwd' returns the 
directory including the drive letter, and `chdir' changes the drive as 
well.  These features are there *precisely* so you won't need all those 
#ifdef __MSDOS__ fragments.

- Raw text -


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