Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3BF027F7.DEE05D7@phekda.freeserve.co.uk> Date: Mon, 12 Nov 2001 19:50:15 +0000 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: RESEND: Patch to computer st_blksize in struct stat References: <10111111931 DOT AA17953 AT clio DOT rice DOT edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Charles Sandmann wrote: [snip] > > + > > + _fixpath(path, fixed_path); > > + d = tolower(path[0]) - 'a'; > > Calling fixpath just to get the drive letter seems like overkill here. > If the in path has a ':' in the second char we could use it; else get > the current drive. I thought fixpath() would be needed to cope with joined paths, because I thought that the source & target of the join could have different block sizes. (I have to admit that I can't remember if you can actually have joins between different drive letters.) Bye, Rich =] -- Richard Dawe http://www.phekda.freeserve.co.uk/richdawe/