Hi,     I have a question about ROM files system.   [Question Description]     A fseek(,,SEEK_CUR) after fread() will cause inconsistency between "(CYG_StdioStream) real_stream.position"     and "fp->f_offset". See also stream.inl and rom_fs.c.         Here is my test program. See attchment: fseek_test.c .   [My modfication]   See attachment: stream_inl_patch.pat. Instruction about how to apply it: cd $(ECOS_REPOSITORY)/packages/language/c/libc/stdio/current/include patch -p0 < $(WHERE_THE_PATCH_IS)/stream_inl_patch.pat regards, Jang-Jer fseek_test.c stream_inl_patch.pat