[Top][All Lists]

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

[bug-gnulib] Re: GNULib save-cwd.c on Windows & Visual Studio 6.0

From: Jim Meyering
Subject: [bug-gnulib] Re: GNULib save-cwd.c on Windows & Visual Studio 6.0
Date: Tue, 08 Mar 2005 17:35:55 +0100

Derek Price <address@hidden> wrote:
> I'm afraid I have to agree with Jim Hyslop.  Whatever Microsoft's
> flaws, I still believe that some of our mutual user base is at least
> relatively innocent and should still be catered to.

This is not about Microsoft per se, but simply about
the lack of fchdir (or POSIX support in general) in WOE.

I suppose it's a long shot, but...
is there a way, in WOE/MSVC, to emulate fchdir's behavior?
I.e., given a file descriptor that is the result of opening a
directory, can you obtain an absolute path name of that directory?

BTW if we end up reverting the changes to save-cwd.c,
we'll also have to do something about its use of chdir_long,
which won't work on systems lacking fchdir:

# undef chdir_long
# define chdir_long(d) chdir (d)

reply via email to

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