InputStream: add method Rewind()

This commit is contained in:
Max Kellermann
2013-10-23 21:22:29 +02:00
parent fe3c5e4e8e
commit f1027ed198
9 changed files with 31 additions and 28 deletions

View File

@@ -27,7 +27,6 @@
#include "thread/Cond.hxx"
#include <assert.h>
#include <unistd.h> /* for SEEK_SET */
bool
tag_file_scan(const char *path_fs,
@@ -71,7 +70,7 @@ tag_file_scan(const char *path_fs,
*handler, handler_ctx))
break;
is->LockSeek(0, SEEK_SET, IgnoreError());
is->LockRewind(IgnoreError());
}
}