* process.c (allocate_pty): Let PTY_ITERATION declare iteration vars.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 17 Mar 2011 05:15:08 +0000 (22:15 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 17 Mar 2011 05:15:08 +0000 (22:15 -0700)
commitbe02381c5db4236f51f474726003d5a97bbc61f7
tree3a1af8d00f502c46997d0709b830233114566978
parent57048744037204ae0cef40cdca9d8a967a4e1407
* process.c (allocate_pty): Let PTY_ITERATION declare iteration vars.

That way, the code declares only the vars that it needs.
* s/aix4-2.h (PTY_ITERATION): Declare iteration vars.
* s/cygwin.h (PTY_ITERATION): Likewise.
* s/darwin.h (PTY_ITERATION): Likewise.
* s/gnu-linux.h (PTY_ITERATION): Likewise.
src/ChangeLog
src/process.c
src/s/aix4-2.h
src/s/cygwin.h
src/s/darwin.h
src/s/gnu-linux.h