Date: Thu, 4 Feb 1999 15:29:09 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Andris Pavenis cc: Hans-Peter Fischer , djgpp AT delorie DOT com, Robert Hoehne Subject: Re: RHIDE bug In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.