summaryrefslogtreecommitdiff
path: root/py/modthread.c
diff options
context:
space:
mode:
authorAyke van Laethem <aykevanlaethem@gmail.com>2017-12-19 23:47:07 +0100
committerDamien George <damien.p.george@gmail.com>2018-01-31 17:33:07 +1100
commit7642785881550bd71815623c4f93e0516217429c (patch)
tree86c32f05a37566853d583498a66cc58acd500ed1 /py/modthread.c
parentdf952633ef806d848ea75148a7be52e6a4e7f9fe (diff)
extmod/vfs_fat_file: Implement SEEK_CUR for non-zero offset.
CPython doesn't allow SEEK_CUR with non-zero offset for files in text mode, and uPy inherited this behaviour for both text and binary files. It makes sense to provide full support for SEEK_CUR of binary-mode files in uPy, and to do this in a minimal way means also allowing to use SEEK_CUR with non-zero offsets on text-mode files. That seems to be a fair compromise.
Diffstat (limited to 'py/modthread.c')
0 files changed, 0 insertions, 0 deletions