delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-7.5 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_THREADED,RP_MATCHES_RCVD,SPF_HELO_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <510E933E.9000500@dancol.org> |
Date: | Sun, 03 Feb 2013 08:41:34 -0800 |
From: | Daniel Colascione <dancol AT dancol DOT org> |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 |
MIME-Version: | 1.0 |
To: | Ken Brown <kbrown AT cornell DOT edu> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: Emacs-w32 |
References: | <CAHWh1-VgCCnpjyQeC8H26+AZ3mZ3idOt6EcSoPtGNL5ZJY+LqA AT mail DOT gmail DOT com> <510E5ACE DOT 6000508 AT cornell DOT edu> |
In-Reply-To: | <510E5ACE.6000508@cornell.edu> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
------enig2WGGDGJGUFMHCWLRVHDSS Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 2/3/2013 4:40 AM, Ken Brown wrote: > On 2/3/2013 6:05 AM, =D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9 =D0=97=D0=B0=D0= =B1=D0=B0=D0=B2=D0=BD=D0=B8=D0=BA=D0=BE=D0=B2 wrote: >> $ emacs-w32 --daemon >> emacs daemon: exec failed: 2 >> Error: server did not start correctly >=20 > I can confirm this. Daniel, can you help? =3D=3D=3D 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] =3D 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. ------enig2WGGDGJGUFMHCWLRVHDSS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (Cygwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEUEARECAAYFAlEOk0AACgkQ17c2LVA10VsW4gCgtJNNK9wmZ92jCLiNLBLcVkwf cE0AmJwn+PEgLbWksWiooGqw4B4qHxo= =fkSz -----END PGP SIGNATURE----- ------enig2WGGDGJGUFMHCWLRVHDSS--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |