Make comment at the top of script_exec() match reality.

This commit is contained in:
Todd C. Miller
2009-10-18 17:32:44 +00:00
parent 7281ad3bc0
commit 27b221e439

View File

@@ -323,10 +323,11 @@ log_output(buf, n, then, now, ofile, tfile)
* allow the child to be suspended in the parent session with the
* parent controlling tty. Acts as the "glue" between the two controlling
* ttys from a job-control standpoint.
* 2) child, creates a new session with the pty slave as the controlling tty.
* Does all the work passing data to and from the pty and signals parent
* when it receives job control-related signals on behalf of grandchild.
* 3) grandchild, runs the actual command, belongs to child's session and pgrp.
* 2) child, creates a new session. Does all the I/O passing data to and
* from the pty and signals parent when it receives job control-related
* signals on behalf of the grandchild.
* 3) grandchild, runs the actual command with the pty slave as its
* controlling tty, belongs to child's session but has its own pgrp.
*/
int
script_execv(path, argv)