www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/12/17/13:48:08

From: Alain Magloire <alainm AT rcsm DOT ece DOT mcgill DOT ca>
Message-Id: <199912171830.NAA11111@mccoy2.ECE.McGill.CA>
Subject: Re: The 5th symlink patch
To: djgpp-workers AT delorie DOT com
Date: Fri, 17 Dec 1999 13:30:26 -0500 (EST)
In-Reply-To: <385A69D1.F8B20F7A@softhome.net> from "Laurynas Biveinis" at Dec 17, 99 06:50:25 pm
X-Mailer: ELM [version 2.4 PL25]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Bonjour M. Laurynas Biveinis

> There are two differences from the 4th patch:
> 
>    - I've found BSD manpage talking about symlinks, and there was mentioned
> another function which does not follow symlinks - lchown(). It was missing 
> from my implementation. Now it isn't. (As well as its documentation).

I did not follow your discussion, but some functions that comes to mind
lstat()
lchown()
symlink()
readlink()
link() unlink() // hard links

Are you detecting loops ? and returning ELOOP
Can you link directories ?

Bye,

--
alain

- Raw text -


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