This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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.
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |