From: Nick Bowler Date: Thu, 11 Feb 2010 02:48:51 +0000 (-0500) Subject: liblbx: Reset EOF flag after a successful seek on a pipe. X-Git-Url: https://git.draconx.ca/gitweb/liblbx.git/commitdiff_plain/6ddd77d5bb60d875253f2427d279ac6caacdce68 liblbx: Reset EOF flag after a successful seek on a pipe. This will probably never happen in practice. --- diff --git a/src/fops.c b/src/fops.c index 2a3db82..746455f 100644 --- a/src/fops.c +++ b/src/fops.c @@ -92,6 +92,7 @@ static int pipe_seek(void *handle, long offset, int whence) return -1; } + clearerr(state->f); return 0; }