diff options
Diffstat (limited to 'src/file.cpp')
-rw-r--r-- | src/file.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/file.cpp b/src/file.cpp index 6228ba9..1c26001 100644 --- a/src/file.cpp +++ b/src/file.cpp | |||
@@ -93,6 +93,7 @@ void Bu::File::seek( long offset ) | |||
93 | throw FileException("File not open."); | 93 | throw FileException("File not open."); |
94 | 94 | ||
95 | lseek( fd, offset, SEEK_CUR ); | 95 | lseek( fd, offset, SEEK_CUR ); |
96 | bEos = false; | ||
96 | } | 97 | } |
97 | 98 | ||
98 | void Bu::File::setPos( long pos ) | 99 | void Bu::File::setPos( long pos ) |
@@ -101,6 +102,7 @@ void Bu::File::setPos( long pos ) | |||
101 | throw FileException("File not open."); | 102 | throw FileException("File not open."); |
102 | 103 | ||
103 | lseek( fd, pos, SEEK_SET ); | 104 | lseek( fd, pos, SEEK_SET ); |
105 | bEos = false; | ||
104 | } | 106 | } |
105 | 107 | ||
106 | void Bu::File::setPosEnd( long pos ) | 108 | void Bu::File::setPosEnd( long pos ) |
@@ -109,6 +111,7 @@ void Bu::File::setPosEnd( long pos ) | |||
109 | throw FileException("File not open."); | 111 | throw FileException("File not open."); |
110 | 112 | ||
111 | lseek( fd, pos, SEEK_END ); | 113 | lseek( fd, pos, SEEK_END ); |
114 | bEos = false; | ||
112 | } | 115 | } |
113 | 116 | ||
114 | bool Bu::File::isEos() | 117 | bool Bu::File::isEos() |