After a bit of debugging I found out were amflush hangs, it seems that the
function agets() in function call read_flush() waits forever and the for
loop never gets executed, I'm not sure why but maybe someone on the list
knows.

excerpt from driver.c

void read_flush(tapeqp)
disklist_t *tapeqp;
{

[snip]
    /* read schedule from stdin */

    for(line = 0; (inpline = agets(stdin)) != NULL; free(inpline)) {
        line++;
.....


Thanks for your help.

Roger Grant


Reply via email to