1
1

Oops -- there's a second instance of OCRNL that needed to be

protected.

This commit was SVN r8374.
Этот коммит содержится в:
Jeff Squyres 2005-12-02 18:24:59 +00:00
родитель 0c9420e204
Коммит bd0b5acf0b

Просмотреть файл

@ -167,7 +167,13 @@ orte_iof_base_setup_child(orte_iof_base_io_conf_t *opts)
term_attrs.c_lflag &= ~ (ECHO | ECHOE | ECHOK | term_attrs.c_lflag &= ~ (ECHO | ECHOE | ECHOK |
ECHOCTL | ECHOKE | ECHONL); ECHOCTL | ECHOKE | ECHONL);
term_attrs.c_iflag &= ~ (ICRNL | INLCR | ISTRIP | INPCK | IXON); term_attrs.c_iflag &= ~ (ICRNL | INLCR | ISTRIP | INPCK | IXON);
term_attrs.c_oflag &= ~ (OCRNL | ONLCR); term_attrs.c_oflag &= ~ (
#ifdef OCRNL
/* OS X 10.3 does not have this
value defined */
OCRNL |
#endif
ONLCR);
if (tcsetattr(opts->p_stdout[1], TCSANOW, &term_attrs) == -1) { if (tcsetattr(opts->p_stdout[1], TCSANOW, &term_attrs) == -1) {
return ORTE_ERROR; return ORTE_ERROR;
} }