Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] lstat on windows native
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Peter Jolly <peter@j...>
Subject: Re: [Caml-list] lstat on windows native
skaller wrote:
> Currently, I need to use lstat (as pointed out in previous
> email) but it isn't implemented on Windows native port
> according to 3.07 documentation.
> 
> I wonder if this function can be implemented for Windows?
> I'm not sure what it means (I don't understand Windows shortcuts).

In the native Windows ocaml, all shortcuts stat as S_REG, so it's not a
problem (for your purposes) that lstat == stat.  In the Cygwin port,
shortcuts are treated as symlinks, and stat and lstat treat them as
documented.

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