delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/01/16/10:19:41

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 <rich AT phekda DOT freeserve DOT co DOT uk>
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 <djgpp-workers AT delorie DOT com>
Subject: Opportunity for using common code: getcwd()
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/ ]

- Raw text -


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