creation in rcvtty.c, now that we have m_unlink().
advise(NULL, "unable to create temporary file in %s", get_temp_dir());
return NOTOK;
}
advise(NULL, "unable to create temporary file in %s", get_temp_dir());
return NOTOK;
}
+ m_unlink(tfile); /* Use fd, no longer need the file name. */
if ((child_id = fork()) == NOTOK) {
/* fork error */
if ((child_id = fork()) == NOTOK) {
/* fork error */
advise(NULL, "unable to create temporary file in %s", get_temp_dir());
return NOTOK;
}
advise(NULL, "unable to create temporary file in %s", get_temp_dir());
return NOTOK;
}
+ m_unlink(tfile); /* Use fd, no longer need the file name. */