Browse thread
[Caml-list] lstat on windows native
-
skaller
- Olivier Andrieu
- Peter Jolly
- sylvain.le-gall@p...
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2004-05-25 (08:55) |
From: | Olivier Andrieu <andrieu@i...> |
Subject: | Re: [Caml-list] lstat on windows native |
skaller [25 May 2004]: > 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. > > If I understand correctly this means my program won't > compile/link on Win32, which isn't very nice. No, using unimplemented features of the Unix module will never prevent your program to compile nor link. The module signature is the same on all platforms. However, it will probably raise an exception at runtime (like Invalid_argument "foo not implemented"). Concerning lstat, it is a bit different, lstat is defined as: let lstat = stat > if Sys.os_type = "Win32" then stat else lstat that's fine too, of course. -- Olivier ------------------- 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