From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id E3FB7BC88 for ; Tue, 1 Feb 2005 13:39:16 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j11CdGI6018927 for ; Tue, 1 Feb 2005 13:39:16 +0100 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA05513 for ; Tue, 1 Feb 2005 13:39:16 +0100 (MET) Received: from hedwig1.umh.ac.be (hedwig2.umh.ac.be [193.190.193.73]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j11CdFFh019952 for ; Tue, 1 Feb 2005 13:39:15 +0100 Received: from poincare (mail@poincare.swapping.umh.ac.be [10.102.100.22]) by hedwig1.umh.ac.be (8.13.1/8.13.1) with ESMTP id j11CgLRQ905364; Tue, 1 Feb 2005 13:42:25 +0100 Received: from poincare ([127.0.0.1] helo=localhost ident=trch) by poincare with esmtp (Exim 3.36 #1 (Debian)) id 1CvxJ0-0002A0-00; Tue, 01 Feb 2005 13:38:54 +0100 Date: Tue, 01 Feb 2005 13:38:53 +0100 (CET) Message-Id: <20050201.133853.78884090.debian00@tiscali.be> To: qrczak@knm.org.pl Cc: caml-list@inria.fr Subject: Re: [Caml-list] [WISH] Unix.fstat and symlinks for win32 From: Christophe TROESTLER In-Reply-To: <87brb4tsog.fsf@qrnik.zagroda> References: <20050201.110702.30392529.Christophe.Troestler@umh.ac.be> <87brb4tsog.fsf@qrnik.zagroda> Organization: None X-Spook: New World Order Majic analyzer NORAD INSCOM benelux Mena NASA afsatcom Fortezza X-Blessing: Om Ah Hum Vajra Guru Pema Siddhi Hum X-Operating-System: GNU/Linux (http://www.linux.org/) X-Mailer-URL: http://www.mew.org/ X-Mailer: Mew version 4.2rc1 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.1 (www dot roaringpenguin dot com slash mimedefang) X-Miltered: at concorde with ID 41FF7874.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 41FF7873.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 fstat:01 symlinks:01 christophe:01 troestler:01 wrote:01 christophe:01 troestler:01 umh:01 symbolic:01 symlinks:01 symlink:01 unix:01 unix:01 writes:01 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.5 required=5.0 tests=FROM_ENDS_IN_NUMS autolearn=disabled version=3.0.2 X-Spam-Level: On Tue, 01 Feb 2005, "Marcin 'Qrczak' Kowalczyk" wrote: > > Christophe TROESTLER writes: > > > Also, why not treat *.lnk as symbolic links under win32? > > What do you mean? It's the OS which treats symlinks on Unix, and > Windows doesn't. For example you can't put a "link" to a directory > in the middle of a path. And you *can* edit its contents (which is > meaningless for a Unix symlink). It makes no sense to pretend that > they are the same when they are not. I did not pretend that *.lnk are equivalent to Unix symlinks -- I know they are not. What I was proposing is that, since the symlinks functions of the Unix module are "not implemented" for win32, it may be a good use of them to make them create/manipulate *.lnk files. The open_* functions need not to follow *.lnk's but the functionality would be there if so one wishes. Some infos about the format on http://www.wotsit.org/search.asp?page=2&s=windows ChriS