mirror of
https://github.com/byteworksinc/ORCALib.git
synced 2025-02-06 13:30:40 +00:00
Do not set read/write error indicator if ftell cannot get the file mark.
This is not really an IO operation on the file, and accordingly the C standards do not describe the error indicator as being set here. In particular, you cannot get the mark for a character device, but that is expected behavior, not really an error condition. errno is still set, indicating that the ftell operation failed.
This commit is contained in:
parent
3eb8a9cb55
commit
2d6ca8a7b2
Loading…
x
Reference in New Issue
Block a user