Eli Zaretskii wrote:
Date: Tue, 12 Dec 2006 00:09:00 +0100
From: Lennart Borgman <[EMAIL PROTECTED]>

It turned out that the test below for execute access failed. That seems strange since indeed runemacs.exe can be executed. Is that perhaps a bug in MinGW or in w32? Or am I misunderstanding something? Where could I try to report this (potential) bug?

According to this:

  http://msdn2.microsoft.com/en-us/library/1w06ktdy(VS.80).aspx

the Windows version of `access' doesn't support X_OK at all, only
F_OK, R_OK, and W_OK.

I don't really understand why did you need that test.  The CVS version
of emacsclient.c doesn't have such a test, AFAICS.

Ah, thanks Eli. I did not know that X_OK was not supported (though somewhere in my head is a memory of hearing theis before).

This is for the code I have added in my patched version of emacsclient.c to start Emacs automatically. Since I wanted to avoid errors I tested as much as I could come up with. Some testing overkill I guess.

Now the automatic starting of Emacs seems to work very well on w32. If someone is interested I believe the code should run on other platforms too.


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to