Emacs-w32
Daniel Colascione
dancol@dancol.org
Sun Feb 3 16:41:00 GMT 2013
On 2/3/2013 4:40 AM, Ken Brown wrote:
> On 2/3/2013 6:05 AM, Андрей Забавников wrote:
>> $ emacs-w32 --daemon
>> emacs daemon: exec failed: 2
>> Error: server did not start correctly
>
> I can confirm this. Daniel, can you help?
=== modified file 'src/emacs.c'
--- src/emacs.c 2013-02-02 17:14:24 +0000
+++ src/emacs.c 2013-02-03 16:34:57 +0000
@@ -1059,7 +1059,7 @@
argv[skip_args] = fdStr;
- execv (argv[0], argv);
+ execvp (argv[0], argv);
fprintf (stderr, "emacs daemon: exec failed: %d\n", errno);
exit (1);
}
Oops. I don't use the daemon feature in my day-to-day use, so I only tested it
during development; during development, argv[0] happened to be a correct
relative path to the Emacs binary.
I'll commit to the Emacs trunk and ask emacs-devel whether it's okay to put this
fix into the release branch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20130203/d3076dc9/attachment.sig>
More information about the Cygwin
mailing list