[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnulib broken on systems lacking fchdir

From: Matthew Woehlke
Subject: Re: gnulib broken on systems lacking fchdir
Date: Wed, 29 Nov 2006 15:07:51 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20061025 Thunderbird/ Mnenhy/

Bruno Haible wrote:
Matthew Woehlke wrote:
I also noticed that although there is a HAVE_FCHDIR (properly set in config.h), it is not being used.

How needed are the *at functions? Can I rip them out? Can I emulate fchdir()? Is there some other way to achieve what fchdir() is being used for?

Emulating fchdir() is probably the easiest:

Hmm, so I guess borrowing/re-implementing Cygwin's solution is best? How does one go about overloading 'open'? And how are licensing issues going to play into this? (Does this new fchdir module need to be LGPL, or is GPL OK?)

It seems like, sans hash table (or whatever structure), this is a very straight-forward module to write. I can give the templates for open, close, and fchdir, but for licensing reasons it might be better if someone else can provide the fd table.

Emacs is a nice OS - but it lacks a good text editor.
That's why I am using Vim.  -- Anonymous

reply via email to

[Prev in Thread] Current Thread [Next in Thread]