Message-ID: <35ECA2DF.19993D46@montana.com> Date: Tue, 01 Sep 1998 19:43:59 -0600 From: bowman Reply-To: bowman AT montana DOT com MIME-Version: 1.0 To: "djgpp AT delorie DOT com" Subject: Midnight Commander and symbolic links Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk 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.