Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3E26CD19.62B2EC11@phekda.freeserve.co.uk> Date: Thu, 16 Jan 2003 15:17:45 +0000 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: DJGPP workers Subject: Opportunity for using common code: getcwd() Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. While trying to fix some bugs in __solve_symlink, I noticed that the code for _fixpath and getcwd has similar sections for obtaining the current directory on a given drive. Why don't they use the same code? Note that the code has some special case for Win2k/XP, so I don't want to touch it. Perhaps someone with access to Win2k/XP could make them use some common function. Thanks, bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]