emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: emacsclient and emacsclientw don't work in Windows Vista x64 RTM


From: Lennart Borgman
Subject: Re: emacsclient and emacsclientw don't work in Windows Vista x64 RTM
Date: Wed, 13 Dec 2006 00:11:05 +0100
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)

Eli Zaretskii wrote:
Date: Tue, 12 Dec 2006 00:09:00 +0100
From: Lennart Borgman <address@hidden>

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.




reply via email to

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