]> git.draconx.ca Git - liblbx.git/blobdiff - src/fops.c
liblbx: Reset EOF flag after a successful seek on a pipe.
[liblbx.git] / 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;
 }