delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1996/04/14/11:54:54

Date: Sun, 14 Apr 1996 18:53:21 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: DJ Delorie <dj AT delorie DOT com>
Cc: djgpp-workers AT delorie DOT com
Subject: Re: Numbers of links for directories
In-Reply-To: <199604141348.JAA13379@delorie.com>
Message-Id: <Pine.SUN.3.91.960414184617.2975C-100000@is>
Mime-Version: 1.0

On Sun, 14 Apr 1996, DJ Delorie wrote:

> To be really clean, we should fake out the "." and ".." directories
> for "/" under opendir().

That means that `stat' should also return the number of links for the root
as if there were "." and ".." there.  But I'm a bit worried about this: 
won't it mean that we will have to pretend these two are there throughout 
most of the library?  For instance, stat ("/..") should return valid 
info instead of failing, right?  What about chmod ("/..")?  What about 
non-POSIX functions (like `findfirst')?  Etc., etc.  Seems like libc 
rewrite ;-).

>                I think the lack of these two causes corrupt
> images with mkisofs, which only works when making images of
> subdirectories.

What are these `mkisofs'?

- Raw text -


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