delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/01/21:44:27

Message-ID: <35ECA2DF.19993D46@montana.com>
Date: Tue, 01 Sep 1998 19:43:59 -0600
From: bowman <bowman AT montana DOT com>
Reply-To: bowman AT montana DOT com
MIME-Version: 1.0
To: "djgpp AT delorie DOT com" <djgpp AT delorie DOT com>
Subject: Midnight Commander and symbolic links

I've gotten a build to display two panels, and rudimentary interaction,
but it still needs a good deal of work. 

the question: the area I had to patch extensively deal with S_ISLNK,
lstat, readlink, and other things that would be declared in
jgpp/include/sys/stat.h, if links were supported.

Other than the quick and dirty copy that link() uses, and the juggling
of startup code to produce a symbolic link, is there any uniform way of
handling gnu code that presupposes a linkable file system?

Most of the code involved performs a test for a linked file, so I've
taken the temporary method of having the S_ISLNK macro evaluate to false
etc., but if there is a standard method, i'd prefer to use it.

- Raw text -


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