[m-rev.] for review: library changes for `mmc --make' on Windows

Simon Taylor stayl at cs.mu.OZ.AU
Tue Jun 17 18:24:10 AEST 2003

On 16-Jun-2003, Simon Taylor <stayl at cs.mu.OZ.AU> wrote:
> On 15-Jun-2003, Michael Day <mikeday at yeslogic.com> wrote:
> > 
> > > 	Handle Windows-style paths.
> > 
> > Does dirname("C:\Foo\Bar") = "C:\Foo" ?
> dirname("C:\\Foo\\Bar") = "C:\\Foo\\".
> > Note that the Win32 shlwapi library provides functions like PathIsRelative
> > and so forth (that's what I am currently using instead of the dir module).
> So that's where they hid that functionality. Thanks for pointing that
> out. I'll redo the basename, dirname, split_name and root_directory
> functions using shlwapi.

I've tried this, and the implementation is inconsistent with
the .NET implementation of the same functionality. (For example
the .NET functions consider 'C:' to be a root directory, but
the Windows functions don't ('C:\' is a root directory on both).
I'll leave the change as it is.

mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe

More information about the reviews mailing list