]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - packages/language/c/libc/stdio/v2_0/include/stream.inl
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / language / c / libc / stdio / v2_0 / include / stream.inl
index 31aa5ca175f5e94c3030a562c7f37efa79c822ac..fc2964f5950498c0d510ce3bd937cc33ef97317f 100644 (file)
@@ -442,6 +442,7 @@ Cyg_StdioStream::set_position( fpos_t pos, int whence )
 
         if (whence == SEEK_CUR) {
             position += bytesavail;
+            pos -= bytesavail;
         }
     } //endif (whence != SEEK_END)