Re: GNULib save-cwd.c on Windows Visual Studio 6.0

2005-03-10 Thread Jim Meyering
Conrad T. Pino [EMAIL PROTECTED] wrote: ... I've checked that in. I've seen the lib/save-cwd.c change in GULLib CVS on Savannah but I didn't see the AC_CHECK_FUNCS(fchdir) in save-cwd.m4 change. It was too late :) I've just done it. Index: m4/save-cwd.m4

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

2005-03-10 Thread James Youngman
On Tue, Mar 08, 2005 at 09:26:47AM -0500, Jim.Hyslop wrote: The MSVC build stands alone, not requiring any external DLLs. I don't think it is reasonable to require all Windows users to download and install Cygwin just to run CVS. So how does Tony Hoyle's CVSNT deal with this issue? --

Re: GNULib save-cwd.c on Windows Visual Studio 6.0

2005-03-09 Thread Jim Meyering
Here's a patch that should restore the ability of save-cwd to work on systems without the fchdir function. Would you please see if this is sufficient? If so, I'll check it in to gnulib (with an AC_CHECK_FUNCS(fchdir) in save-cwd.m4). Index: save-cwd.c

RE: GNULib save-cwd.c on Windows Visual Studio 6.0

2005-03-09 Thread Conrad T. Pino
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jim, From: Jim Meyering [mailto:[EMAIL PROTECTED] This is not about Microsoft per se, but simply about the lack of fchdir (or POSIX support in general) in WOE. I agree let's not enumerate Microsoft's flaws as we would never finish. :) I

RE: GNULib save-cwd.c on Windows Visual Studio 6.0

2005-03-09 Thread Conrad T. Pino
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jim, From: Jim Meyering [mailto:[EMAIL PROTECTED] Here's a patch that should restore the ability of save-cwd to work on systems without the fchdir function. Would you please see if this is sufficient? If so, I'll check it in to gnulib

Re: GNULib save-cwd.c on Windows Visual Studio 6.0

2005-03-09 Thread Jim Meyering
Conrad T. Pino [EMAIL PROTECTED] wrote: ... Would you please see if this is sufficient? If so, I'll check it in to gnulib (with an AC_CHECK_FUNCS(fchdir) in save-cwd.m4). The patch as submitted does not compile. This line fails: return fchdir (cwd-desc); The patch at message end does

RE: GNULib save-cwd.c on Windows Visual Studio 6.0

2005-03-09 Thread Conrad T. Pino
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Jim, From: Jim Meyering [mailto:[EMAIL PROTECTED] Conrad T. Pino [EMAIL PROTECTED] wrote: ... Would you please see if this is sufficient? If so, I'll check it in to gnulib (with an AC_CHECK_FUNCS(fchdir) in save-cwd.m4). The patch

Re: GNULib save-cwd.c on Windows Visual Studio 6.0

2005-03-08 Thread Jim Meyering
Conrad T. Pino [EMAIL PROTECTED] wrote: The CVS project compiles the Windows CVS binary with Microsoft Visual Studio 6.0 which doesn't have a fchdir implementation which is used in save-cwd.c module. The comments say: Some systems lack fchdir altogether: e.g., OS/2, pre-2001 Cygwin,

RE: GNULib save-cwd.c on Windows Visual Studio 6.0

2005-03-08 Thread Jim.Hyslop
Jim Meyering wrote: Is it an option to use a more modern/POSIX-compliant development environment on Windows? I know that Cygwin now has fchdir and it looks like MKS has support for it, too. If you opt to continue using Visual Studio 6 in spite of this, it must have some important

Re: GNULib save-cwd.c on Windows Visual Studio 6.0

2005-03-08 Thread Derek Price
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim.Hyslop wrote: | Jim Meyering wrote: | | Is it an option to use a more modern/POSIX-compliant development | environment on Windows? I know that Cygwin now has fchdir and it | looks like MKS has support for it, too. | | | If you opt to continue

Re: GNULib save-cwd.c on Windows Visual Studio 6.0

2005-03-08 Thread Frank Hemer
On Tuesday 08 March 2005 16:37, Derek Price wrote: Jim.Hyslop wrote: | Jim Meyering wrote: | Is it an option to use a more modern/POSIX-compliant development | environment on Windows? I know that Cygwin now has fchdir and it | looks like MKS has support for it, too. | | | If you opt to

Re: GNULib save-cwd.c on Windows Visual Studio 6.0

2005-03-08 Thread Jim Meyering
Derek Price [EMAIL PROTECTED] 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

Re: GNULib save-cwd.c on Windows Visual Studio 6.0

2005-03-08 Thread Derek Price
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Meyering wrote: | Derek Price [EMAIL PROTECTED] 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