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

Simon Taylor stayl at cs.mu.OZ.AU
Mon Jun 16 13:31:54 AEST 2003


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.

Simon.
--------------------------------------------------------------------------
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