Emacs-w32

Ken Brown kbrown@cornell.edu
Sun Feb 3 18:03:00 GMT 2013


On 2/3/2013 11:41 AM, Daniel Colascione wrote:
> 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.

Thanks. I can apply it locally to the Cygwin build in any case. I'll 
update the latter in a few days when the next pretest (24.2.93) is released.
Ken
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /