Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Unix.stat sometimes fails on Win32 port
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: John Carr <jfc@M...>
Subject: Re: [Caml-list] Unix.stat sometimes fails on Win32 port

> But, it would be just as valid to argue that Unix has a bug in that it
> doesn't detect an incorrectly formed pathname.

It's not a bug, it's a feature.

POSIX requires that operations on "/directory/" and "/directory"
behave identically in most situations.  Since the module is named
"Unix" it ought to follow the Unix convention.

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners