Apply spelling fixes.
Fixes from PR #30 (ka7) and Bug #925 (fossies.org codespell)
This commit is contained in:
@@ -650,7 +650,7 @@ read_callback(int fd, int what, void *v)
|
||||
switch (n) {
|
||||
case -1:
|
||||
if (got_sigttin) {
|
||||
/* Schedule SIGTTIN to be forwared to the command. */
|
||||
/* Schedule SIGTTIN to be forwarded to the command. */
|
||||
schedule_signal(iob->ec, SIGTTIN);
|
||||
}
|
||||
if (errno == EAGAIN || errno == EINTR)
|
||||
@@ -755,7 +755,7 @@ write_callback(int fd, int what, void *v)
|
||||
break;
|
||||
case EINTR:
|
||||
if (got_sigttou) {
|
||||
/* Schedule SIGTTOU to be forwared to the command. */
|
||||
/* Schedule SIGTTOU to be forwarded to the command. */
|
||||
schedule_signal(iob->ec, SIGTTOU);
|
||||
}
|
||||
/* FALLTHROUGH */
|
||||
@@ -1108,7 +1108,7 @@ signal_cb_pty(int signo, int what, void *v)
|
||||
debug_return;
|
||||
}
|
||||
}
|
||||
/* Schedule signal to be forwared to the command. */
|
||||
/* Schedule signal to be forwarded to the command. */
|
||||
schedule_signal(ec, signo);
|
||||
break;
|
||||
}
|
||||
@@ -1327,7 +1327,7 @@ free_exec_closure_pty(struct exec_closure_pty *ec)
|
||||
}
|
||||
|
||||
/*
|
||||
* Execute a command in a pty, potentially with I/O loggging, and
|
||||
* Execute a command in a pty, potentially with I/O logging, and
|
||||
* wait for it to finish.
|
||||
* This is a little bit tricky due to how POSIX job control works and
|
||||
* we fact that we have two different controlling terminals to deal with.
|
||||
|
Reference in New Issue
Block a user