git-svn-id: svn://db.shs.com.ru/pip@455 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -319,6 +319,7 @@ void PIFile::flush() {
|
|||||||
|
|
||||||
void PIFile::seek(llong position) {
|
void PIFile::seek(llong position) {
|
||||||
if (isClosed()) return;
|
if (isClosed()) return;
|
||||||
|
if (position == pos()) return;
|
||||||
_fseek_call_(fd, position, SEEK_SET);
|
_fseek_call_(fd, position, SEEK_SET);
|
||||||
clearerr(fd);
|
clearerr(fd);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user