emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r111670: Daniel Colascione 2013-02-03


From: dancol
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r111670: Daniel Colascione 2013-02-03 * emacs.c: Use execvp, not execv, when DAEMON_MUST_EXEC
Date: Sun, 03 Feb 2013 09:02:56 -0800
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 111670 [merge]
committer: address@hidden
branch nick: realtrunk
timestamp: Sun 2013-02-03 09:02:56 -0800
message:
  Daniel Colascione 2013-02-03 * emacs.c: Use execvp, not execv, when 
DAEMON_MUST_EXEC
modified:
  src/ChangeLog
  src/emacs.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-02-02 19:18:00 +0000
+++ b/src/ChangeLog     2013-02-03 16:45:37 +0000
@@ -1,3 +1,9 @@
+2013-02-03  Daniel Colascione  <address@hidden>
+
+       * emacs.c: Use execvp, not execv, when DAEMON_MUST_EXEC, so that
+       daemon mode works on cygw32 when Emacs is installed and not just
+       during development.
+
 2013-02-02  Paul Eggert  <address@hidden>
 
        Avoid file time stamp bug on MS-Windows (Bug#13149).

=== modified file 'src/emacs.c'
--- a/src/emacs.c       2013-02-02 17:14:24 +0000
+++ b/src/emacs.c       2013-02-03 16:45:37 +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);
           }


reply via email to

[Prev in Thread] Current Thread [Next in Thread]