delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/08/24/07:15:45

Message-ID: <37C23939.A792675C@softhome.net>
Date: Tue, 24 Aug 1999 08:18:33 +0200
From: Laurynas Biveinis <lauras AT softhome DOT net>
X-Mailer: Mozilla 4.61 [en] (Win98; I)
X-Accept-Language: lt,en
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: Real symlinks for DJGPP?
References: <37BFECBA DOT 57BFBD27 AT softhome DOT net> <37C1619D DOT 28A46850 AT inti DOT gov DOT ar>
Reply-To: djgpp-workers AT delorie DOT com

salvador wrote:
> Laurynas Biveinis wrote:
> > 2) open function checks for symlink file format, and if
> > the file appears to be symlink, open real file instead.
> 
> It should call the function in a "recursive way" so symlinks to symlinks works
> OK.

It will do by definition - when open() sees symlink, it will call open() for
linked file...

> I thinked about it in the past but never had time to experiment and see the real
> world problems.
> What about using some special attributes? like System+Read-Only or something
> like that.

If using already defined attribute bits, there is always danger that real
file has that combination.

Laurynas Biveinis

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019