Skip to content
Commit 610afe9c authored by Gregory Nutt's avatar Gregory Nutt
Browse files

FAT performance improvement. In large files, seeking to a position fromt he...

FAT performance improvement. In large files, seeking to a position fromt he beginning of the file can be very time consuming.  ftell does lssek(fd, 0, SET_CURR).  In that case, that is wasted time since we are going to seek to the same position.  This fix short-circutes fat_seek() in all cases where we attempt to seek to curren position.  Suggested by Nate Weibley
parent 1f9799b6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment