Amanda-Users

Re: amflush hangs

2002-12-28 13:02:42
Subject: Re: amflush hangs
From: rgrant AT blpltd DOT com
To: amanda-users AT amanda DOT org
Date: Sat, 28 Dec 2002 12:11:01 -0500
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



<Prev in Thread] Current Thread [Next in Thread>