mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-29 08:31:35 -08:00
src/callproc.c (child_setup): Silence compiler warnings.
This commit is contained in:
parent
b61d71e44f
commit
afacaa1b18
2 changed files with 8 additions and 2 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2013-07-23 Juanma Barranquero <lekktu@gmail.com>
|
||||
|
||||
* callproc.c (child_setup)[!WINDOWSNT]: Move exec_errno and pid
|
||||
here to silence compiler warnings.
|
||||
|
||||
2013-07-22 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* sysdep.c (frame) [__FreeBSD__]: #define to freebsd_frame
|
||||
|
|
|
|||
|
|
@ -1193,13 +1193,14 @@ child_setup (int in, int out, int err, char **new_argv, bool set_pgrp,
|
|||
{
|
||||
char **env;
|
||||
char *pwd_var;
|
||||
int exec_errno;
|
||||
#ifdef WINDOWSNT
|
||||
int cpid;
|
||||
HANDLE handles[3];
|
||||
#endif /* WINDOWSNT */
|
||||
#else
|
||||
int exec_errno;
|
||||
|
||||
pid_t pid = getpid ();
|
||||
#endif /* WINDOWSNT */
|
||||
|
||||
/* Note that use of alloca is always safe here. It's obvious for systems
|
||||
that do not have true vfork or that have true (stack) alloca.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue