* Can I move trunk revision 111670?
@ 2013-02-03 17:04 Daniel Colascione
2013-02-04 1:58 ` Glenn Morris
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Colascione @ 2013-02-03 17:04 UTC (permalink / raw)
To: Emacs discussions
[-- Attachment #1: Type: text/plain, Size: 486 bytes --]
111670 unbreaks daemon mode under cygw32. The change is simply this:
=== 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);
}
Can I move it to the release branch?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can I move trunk revision 111670?
2013-02-03 17:04 Can I move trunk revision 111670? Daniel Colascione
@ 2013-02-04 1:58 ` Glenn Morris
2013-02-04 2:49 ` Daniel Colascione
0 siblings, 1 reply; 4+ messages in thread
From: Glenn Morris @ 2013-02-04 1:58 UTC (permalink / raw)
To: Daniel Colascione; +Cc: Emacs discussions
Daniel Colascione wrote:
> - execv (argv[0], argv);
> + execvp (argv[0], argv);
Why does cygw32 needs this, but plain cygwin and every other platform
(apparently) not?
> Can I move it to the release branch?
As always, it would have been better to install it there in the first
place, if that turns out to be where it needs to be.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Can I move trunk revision 111670?
2013-02-04 1:58 ` Glenn Morris
@ 2013-02-04 2:49 ` Daniel Colascione
2013-02-04 3:12 ` Glenn Morris
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Colascione @ 2013-02-04 2:49 UTC (permalink / raw)
To: Glenn Morris; +Cc: Emacs discussions
[-- Attachment #1: Type: text/plain, Size: 803 bytes --]
On 2/3/13 5:58 PM, Glenn Morris wrote:
> Daniel Colascione wrote:
>
>> - execv (argv[0], argv);
>> + execvp (argv[0], argv);
>
> Why does cygw32 needs this, but plain cygwin and every other platform
> (apparently) not?
Cygw32 and the NS toolkit both require that Emacs exec after fork if
the child is to use any GUI code. NS has the same bug; I just
imagine that relative few people handle it because argv[0] happens
to more often be an absolute path there.
>
>> Can I move it to the release branch?
>
> As always, it would have been better to install it there in the first
> place,
> if that turns out to be where it needs to be.
Sure, but I wanted to make the fix available in the trunk first
regardless of whether it was being moved for
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 235 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-02-04 3:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-03 17:04 Can I move trunk revision 111670? Daniel Colascione
2013-02-04 1:58 ` Glenn Morris
2013-02-04 2:49 ` Daniel Colascione
2013-02-04 3:12 ` Glenn Morris
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.