]> git.draconx.ca Git - liblbx.git/commitdiff
liblbx: Reset EOF flag after a successful seek on a pipe.
authorNick Bowler <nbowler@draconx.ca>
Thu, 11 Feb 2010 02:48:51 +0000 (21:48 -0500)
committerNick Bowler <nbowler@draconx.ca>
Thu, 11 Feb 2010 04:46:58 +0000 (23:46 -0500)
This will probably never happen in practice.

src/fops.c

index 2a3db82854e56449ba63d100106ac442b2d0d01c..746455fd14d9f2346790c69c7c62bd94b504c584 100644 (file)
@@ -92,6 +92,7 @@ static int pipe_seek(void *handle, long offset, int whence)
                        return -1;
        }
 
+       clearerr(state->f);
        return 0;
 }